{{ App\Libraries\AppLibrary::textShortener($company['company_name'], 60) }}
{{ App\Libraries\AppLibrary::textShortener($company['company_address'], 50) }}
{{ trans('all.label.sales_report', [], 'en') }}
{{ trans('all.label.order_id', [], 'en') }} | {{ trans('all.label.date', [], 'en') }} | {{ trans('all.label.payment_type', [], 'en') }} | {{ trans('all.label.payment_status', [], 'en') }} | {{ trans('all.label.discount', [], 'en') }} | {{ trans('all.label.shipping_charge', [], 'en') }} | {{ trans('all.label.total', [], 'en') }} |
---|---|---|---|---|---|---|
{{ $order->order_serial_no }} | {{ App\Libraries\AppLibrary::datetime($order->order_datetime) }} | {{ $order->order_type == App\Enums\OrderType::POS ? trans('posPaymentMethod.' . $order->pos_payment_method, [], 'en') : $order?->paymentMethod?->name }} | {{ trans('payment_status.' . $order->payment_status, [], 'en') }} | {{ App\Libraries\AppLibrary::flatAmountFormat($order->discount) }} | {{ App\Libraries\AppLibrary::flatAmountFormat($order->shipping_charge) }} | {{ App\Libraries\AppLibrary::flatAmountFormat($order->total) }} |
{{ trans('all.label.total', [], 'en') }} | {{ App\Libraries\AppLibrary::reportCurrencyAmountFormat($discount) }} | {{ App\Libraries\AppLibrary::reportCurrencyAmountFormat($shipping_charge) }} | {{ App\Libraries\AppLibrary::reportCurrencyAmountFormat($total) }} |