@extends('admin.layouts.list_pdf') @section('pdf-title') {{ __(':x List', ['x' => __('Order')]) }} @endsection @section('header-info')

{{ __(':x Lists', ['x' => __('Order')]) }}

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

@endsection @section('list-table') @foreach ($orders as $key => $order) @endforeach
{{ __('Invoice') }} {{ __('Customer') }} {{ __('Number of Products') }} {{ __('Total Amount') }} {{ __('Status') }} {{ __('Payment Status') }} {{ __('Created at') }}
{{ $order->reference }} {!! wrapIt(optional($order->user)->name, 10, ['columns' => 1]) !!} {{ formatCurrencyAmount($order->getTotalVendorProduct(session()->get('vendorId'), $order->id)) }} {{ formatCurrencyAmount($order->vendorProductPrice(session()->get('vendorId'), $order->id)) }} {{ $order->status }} {{ $order->paymentStatus($order->total, $order->paid) }} {{ timeZoneFormatDate($order->created_at) }} {{ timeZoneGetTime($order->created_at) }}
@endsection