Reference | Supplier | Warehouse | Total | Paid | Status | ||
---|---|---|---|---|---|---|---|
{{$purchase->reference_code}} | {{$purchase->supplier->name}} | {{$purchase->warehouse->name}} | {{number_format($purchase->grand_total,2)}} | {{number_format((float)$purchase->paid_amount, 2)}} | @if($purchase->status == \App\Models\Purchase::RECEIVED)Received | @elseif($purchase->status == \App\Models\Purchase::PENDING)pending | @elseif($purchase->status == \App\Models\Purchase::ORDERED)ordered | @endif