@extends('admin.index') @section('page_title') {{trans('booking.show')}} @endsection @section('content')

{{trans('booking.show')}} [{{$product->name_ar}}]

@if($orderDetails->count()>0) @foreach($orderDetails as $k=>$page) @endforeach @else @endif
{{ trans('booking.id')}} اسم المنتج الوحدة {{ trans('booking.quantity')}} {{ trans('booking.price')}} {{ trans('اجمالي')}} {{ trans('booking.payment_method')}} {{ trans('الحالة')}}
{{$page->order_id}} {{@$page->Products->item_name}} {{@$page->getSpecificTitle->Specific_title_ar}} @php $tempmo = ((@$page->getSpecificTitle->Specific_title_ar2 / $page->quantity) /1000) // = new Math_Fraction($page->quantity,$page->getSpecificTitle->Specific_title_ar2); @endphp {{$page->quantity}} {{$page->price}} {{$page->total_price}} @if(@$page->Order->payment_method ==1) {{trans('booking.cash')}} @else {{trans('booking.vise')}} @endif {{@$page->ProductStatues->name}}
{{$page->statues_date}}
{{trans('إجمالي الصفحة')}} {{$orderDetails->getCollection()->sum('total_price')}}
{{trans('إجمالي ')}} {{$TotalSum}}
{{trans('الجدول خالي')}}

@if($orderDetails->count()>0)
{{trans('عدد :')}}{{$orderDetails->total()}}
{{$orderDetails->appends(\Request::except('_token'))->render()}}
@endif
@endsection