@if(in_array('sale-return-edit', $authRolePermissions)) @endif @if(in_array('sale-return-delete', $authRolePermissions)) @endif @php $i=1;@endphp @if(count($data)>0) @foreach($data as $key=> $list) @php $Receive = ReturnTransactionCalculationReceiveAmount($list->id,'SALE_RETURN'); @endphp @if(in_array('sale-return-edit', $authRolePermissions)) @endif @if(in_array('sale-return-delete', $authRolePermissions)) @endif @php $i++; @endphp @endforeach @else @endif
Sl No Invoice No. Reference Invoice No Customer Name Bill Amount BillEditDelete
{{$data->firstItem() + $key}} {{$list->voucher_type_invoice_no}}
{{ formatedDateTime($list->invoice_date) }}
{{$list->reference_invoice_no??''}} {{$list->getPatient->name ?? ''}} {{-- {{$list->getPatient->account_contact->gender->name ?? ''}}{{ isset($list->getPatient->account_contact->date_of_birth) && isset($list->getPatient->account_contact->gender) ? ', ' : '' }} {{ isset($list->getPatient->account_contact->date_of_birth) ? age($list->getPatient->account_contact->date_of_birth) . ' yrs' : '' }} --}}
@if(isset($list->getCreatedBy->prepared_by))
By: {!! $list->getCreatedBy->prepared_by??'' !!}
@endif
Total: {{ convertDecimelPoint($Receive['totalBilling']) ?? ''}}
Received: {{ convertDecimelPoint($Receive['receivedAmount']) ?? ''}} @if($Receive['dueAmount']>0)
Due: {{ convertDecimelPoint($Receive['dueAmount']) ?? ''}} @endif
No Data Found