@extends('layouts.list_pdf') @section('pdf-title') {{ __('Team Member Invoice Lists') }} @endsection @section('header-info')

{{ __('Team Member Invoices') }}

{{ __('User:') }} {{ !empty($teamMembers) ? $teamMembers->full_name : __('All') }}

{{ __('Customer:') }} {{ !empty($customers) ? $customers->first_name.' '.$customers->last_name : __('All') }}

{{ __('Location:') }} {{ isset($locations) ? $locations->name : __('All') }}

@if (isset($date_range) && !empty($date_range))

{{ __('Period:') }} {{ $date_range }}

@endif

{{ __('Print Date:') }} {{ formatDate(date('d-m-Y')) }}

@endsection @section('list-table') @foreach($salesData as $data) @if ($data->paid == 0 && $data->total != 0) @elseif ($data->paid > 0 && $data->total > $data->paid) @elseif ($data->paid <= $data->paid || $data->paid == 0) @endif @endforeach
{{ __('Invoice') }} {{ __('Customer Name') }} {{ __('Total Price') }} {{ __('Paid Amount') }} {{ __('Currency') }} {{ __('Status') }} {{ __('Date') }}
{{ $data->reference }} {{ isset($data->customer) ? $data->customer->name : __('Walking customer') . ' ('. $data->currency->name .')' }} {{ formatCurrencyAmount($data->total) }} {{ formatCurrencyAmount($data->paid_amount) }} {{ $data->currency->name }} {{ __('Unpaid') }} {{ __('Partially Paid') }} {{ __('Paid') }} {{ formatDate($data->order_date) }}
@endsection