@extends('back.layouts.app') @push('title', __('All Orders')) @push('css') @endpush @section('content')
#ID | {{ __('Customer') }} | {{ __('Product') }} | {{ __('Quantity') }} | {{ __('Total') }} | {{ __('Note') }} | {{ __('Payment') }} | {{ __('Status') }} | {{ __('Date') }} | {{ __('Stock') }} | {{ __('Answers') }} | {{ __('Action') }} |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $order->id }} |
|
{{ json_decode($order->product)->name }} | {{ json_decode($order->product)->qty }} | {{ config('app.currency_symbol') }} {{ money($order->total) }} |
@if ($order->note)
@else
-
@endif
|
{{ $order->payment_method }} | {{ $order->order_status }} | {{ $order->created_at->format('d.m.Y H:i') }} |
@if ($order->stocks)
{{ count(json_decode($order->stocks, true)) }}
{{ __('in stock') }}
@else
{{ __('No Stock') }}
@endif
|
@if($order->customer_answers)
|
|
#ID | {{ __('Customer') }} | {{ __('Product') }} | {{ __('Quantity') }} | {{ __('Total') }} | {{ __('Note') }} | {{ __('Payment') }} | {{ __('Status') }} | {{ __('Date') }} | {{ __('Stock') }} | {{ __('Answers') }} | {{ __('Action') }} |