@extends('layouts.app') @section('title') Purchase Order Receipt @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

Receipts

@foreach($total_receipts as $pr ) @foreach($pr->receipts as $list ) @php $vendor = \App\PurchaseRequestVendor::find($list->vendor_id); @endphp @endforeach @endforeach
Po# Vendor Total Amount Pay Amount Remaining Amount Status Date Action
@permission('list-purchase-order') PO-{{ucfirst($list->purchase_order_id)}} @else PO-{{ucfirst($list->purchase_order_id)}} @endpermission @permission('view-vendor') {{ucfirst($vendor->name)}} @else {{ucfirst($vendor->name)}} @endpermission {{number_format($list->total_amount , 2)}} {{number_format($list->total_pay_amount, 2)}} {{number_format($list->remaining_amount, 2)}} @if($list->status == 0)
UNPAID
@elseif($list->status == 1)
PAID
@elseif($list->status == 2)
PARTIALLY PAID
@endif
Created At :
{{date('d-F-Y' , strtotime($list->receipt_date))}} @if(!empty($list->receipt_pay_date))

Paid At :
{{date('d-F-Y' , strtotime($list->receipt_pay_date)) }} @endif
@permission('list-po-receipt') View @endpermission
@stop