@extends('backend.partials.master') @section('title') {{ __('parcel.title') }} {{ __('levels.list') }} @endsection @section('maincontent')
@csrf
@error('parcel_date') {{ $message }} @enderror
@error('parcel_status') {{ $message }} @enderror
@error('parcel_customer') {{ $message }} @enderror
@error('parcel_customer_phone') {{ $message }} @enderror
@error('parcel_customer_phone') {{ $message }} @enderror
{{ __('levels.clear') }}
{{-- multiple parcel label print --}} {{-- end multiple parcel label print --}} {{ __('levels.add') }} {{ __('parcel.import_parcel') }}
@php $i=1; @endphp @foreach($parcels as $parcel) @endforeach
{{ __('###') }} {{ __('parcel.tracking_id') }} {{ __('parcel.recipient_info') }} {{ __('parcel.amount')}} {{ __('parcel.status') }} {{ __('parcel.payment')}}
{{ $parcel->tracking_id }}
 

{{$parcel->customer_name}}

 

{{$parcel->customer_phone}}

 

{{$parcel->customer_address}}

{{__('levels.cod')}}: {{settings()->currency}}{{$parcel->cash_collection}}
@if ($parcel->return_to_courier == App\Enums\BooleanStatus::YES) {{__('levels.return_charges')}}: {{settings()->currency}}{{$parcel->return_charges}}
@else {{__('levels.total_delivery_amount')}}: {{settings()->currency}}{{$parcel->total_delivery_amount}}
{{__('levels.vat_amount')}}: {{settings()->currency}}{{$parcel->vat_amount}}
@endif {{__('levels.current_payable')}}: {{settings()->currency}}{{$parcel->current_payable}}

{!! $parcel->parcel_status !!}

{{__('parcel.updated_on')}}: {{\Carbon\Carbon::parse($parcel->updated_at)->format('Y-m-d h:i:s A')}}
@if ($parcel->invoice)

{{ __('invoice.'.@$parcel->invoice->status) }}

{{ @$parcel->invoice->invoice_id }}
@if ($parcel->invoice->status == App\Enums\InvoiceStatus::PAID) Paid At: {{ @dateFormat(@$parcel->invoice->updated_at) }} @endif @else N/A @endif
{{ $parcels->appends($request->all())->links() }}

{!! __('Showing') !!} {{ $parcels->firstItem() }} {!! __('to') !!} {{ $parcels->lastItem() }} {!! __('of') !!} {{ $parcels->total() }} {!! __('results') !!}

@endsection() @push('styles') @endpush @push('scripts') @endpush