@extends('admin._layouts.master') @section('css') @endsection @section('content')
| # | @transUc('models.generic.name') | @transUc('models.order.quantity') | @transUc('models.order.total_price') | @transUc('generic.table') | @transUc('models.customer.model_name') | @transUc('models.generic.payment_type') | @transUc('models.generic.category') | @transUc('models.generic.tracking_section') | @transUc('models.order.created_by') | @transUc('models.generic.created_at') |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $order->product->id }} | @if($order->product && !$order->product->trashed()) {{ $order->product->name }} @else {{ $order->product->name }} (@transTitleCase('ui.listing.deleted')) @endif | {{ $order->visibleQuantity }} | @currencySymbol {{ formatCurrency($order->total_price) }} | {{ $order->sale->destinationName }} | #{{ $order->sale->id }} | @transUc('generic.financial.payment_types.'. PAYMENT_TYPE[$order->payment_type]) | @if($order->product->categories) @foreach($order->product->categories as $category) {{ $category->name }} @endforeach @else @transTitleCase('ui.listing.deleted') @endif | @if($order->trackingSection) {{ $order->trackingSection->name }} @endif | @if($order->user) {{ $order->user->fullname }} @endif | {{ $order->created_at->format('d-m-Y H:i:s') }} |