@extends('sales::layouts.exporting.pdf.master') @section('koolreport')

@lang('sales::customer_receipts.Customer Receipts')

{{$data['companyName']}}

@if($data['customerPaymentReceipts']->count()) @foreach($data['customerPaymentReceipts'] as $customerPaymentReceipt) > @endforeach @endif
@lang('sales::customer_receipts.Reference ID') @lang('sales::customer_receipts.Customer') @lang('sales::customer_receipts.Date') @lang('sales::customer_receipts.Kind') @lang('products::cost_center.Cost Center') @lang('sales::customer_receipts.Amount') @lang('sales::customer_receipts.Not Allocated Amount')
{{$customerPaymentReceipt->reference}} {{$customerPaymentReceipt->customer->name}} {{$customerPaymentReceipt->formatDate($customerPaymentReceipt->date)}}{{ __("sales::customer_receipts.".ucfirst($customerPaymentReceipt->kind))}} {{$customerPaymentReceipt->trashedCostCenter ? $customerPaymentReceipt->trashedCostCenter['code'] . ' - ' . $customerPaymentReceipt->trashedCostCenter['name_' . app()->getLocale()]: __('products::cost_center.main center')}} {{$customerPaymentReceipt->paid_amount}} {{$customerPaymentReceipt->not_allocated_amount}}
@endsection