@component('laravel-crm::components.card') @component('laravel-crm::components.card-table')
| {{ ucwords(__('laravel-crm::lang.created')) }} | {{ ucwords(__('laravel-crm::lang.number')) }} | {{ ucwords(__('laravel-crm::lang.reference')) }} | {{ ucwords(__('laravel-crm::lang.sub_total')) }} | {{ ucwords(__('laravel-crm::lang.discount')) }} | {{ ucwords(__('laravel-crm::lang.tax')) }} | {{ ucwords(__('laravel-crm::lang.adjustment')) }} | {{ ucwords(__('laravel-crm::lang.total')) }} | |
|---|---|---|---|---|---|---|---|---|
| {{ $order->created_at->diffForHumans() }} | {{ $order->order_id }} | {{ $order->reference }} | @if($subTotalError) {{ money($order->subtotal, $order->currency) }} @else {{ money($order->subtotal, $order->currency) }} @endif | {{ money($order->discount, $order->currency) }} | @if($taxError) {{ money($order->tax, $order->currency) }} @else {{ money($order->tax, $order->currency) }} @endif | {{ money($order->adjustments, $order->currency) }} | @if($totalError) {{ money($order->total, $order->currency) }} @else {{ money($order->total, $order->currency) }} @endif | @if(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) {{ money($order->total, $order->currency) }} @else {{ money($order->total, $order->currency) }} @endif |