@extends('layouts.list_pdf') @section('pdf-title')
{{ __('Invoice Lists') }}
{{__('Name:')}} {{ isset($customerData) && !empty($customerData) ? $customerData->first_name . ' '. $customerData->last_name : __('All Customer') }}
{{__('Location:')}} {{ isset($locationName) && !empty($locationName) ? $locationName : __('All Locations') }}
@if(isset($date_range) && !empty($date_range)){{__('Period:')}} {{ $date_range }}
@endif{{ __('Print Date:') }} {{ formatDate(date('d-m-Y')) }}
| {{ __('Invoice No') }} | {{ __('Customer Name') }} | {{ __('Total Price') }} | {{ __('Paid Amount') }} | {{ __('Currency') }} | {{ __('Status') }} | {{ __('Invoice Date') }} |
| {{ $data->reference }} | {{ $name }} | {{ formatCurrencyAmount($data->total) }} | {{ formatCurrencyAmount($paid_amount) }} | {{ $data->currency->name }} | @if($paid_amount == 0) {{ __("Unpaid") }} @elseif($paid_amount > 0 && $data->total > $paid_amount) {{ __("Partially paid") }} @elseif($data->total <= $paid_amount) {{ __("Paid") }} @endif | {{ formatDate($data->order_date) }} |