{{ __('static.showing_list', ['value1' => $orders->firstItem(), 'value2' => $orders->lastItem(), 'value3' => $orders->total()]) }}
| # | {{ __('static.order_id') }} | {{ __('label.artist_business') }} | {{ __('static.assigned_to') }} | {{ __('label.service') }} | {{ __('label.amount') }} | {{ __('label.date_time') }} | {{ __('label.payment_status') }} | {{ __('label.service_status') }} | {{ __('label.action') }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ ($orders->currentPage() - 1) * $orders->perPage() + $key + 1 }} | {{ $order->order_no }} |
{{ isset($order->branch->companyProfile->company_name) ? $order->branch->companyProfile->company_name : (isset($order->branchOwner->name) ? $order->branchOwner->name : '') }}
|
{{ isset($order->staffUser->name) ? $order->staffUser->name : '' }} | @foreach ($order->services as $service) {{ $locale == App\Helpers\ConstantHelper::ARABIC ? $service->name_ar : $service->name_en }} @unless ($loop->last) @endunless @endforeach | {{ 'EGP ' . $order->payable_amount }} | {{ date('d-m-Y', strtotime($order->date)) }} {{ App\Helpers\GeneralHelper::timeFormat($order->start_time) }} to {{ App\Helpers\GeneralHelper::timeFormat($order->end_time) }} |
@if ($order->payment_status == 'paid') {{ __('static.fully_paid') }} @elseif($order->payment_status == 'unpaid') {{ __('static.unpaid') }} @else {{ __('static.partial_paid') }} @endif | @php if ($order->status == App\Helpers\ConstantHelper::CANCELLED) { $class = 'badge-new-danger'; } elseif ($order->status == App\Helpers\ConstantHelper::PENDING) { $class = 'badge-new-secondary'; } else { $class = 'badge-new-success'; } @endphp{{ __('static.' . $order->status) }} |
|