@extends('base_view') @section('body')
{{ $shop->name }}{{ $shop->created_at }} @if ($shop->ShopCity){{ $shop->ShopCity->name }} @endif@if ( $shop->isStore) Store @else Restaurant @endif |
Address: {{ $shop->address }} Tags: @if ($shop->tags) @foreach ( $shop->ShopProductsTags as $tag) {{ $tag->name }} {{ $tag->nameAR }} @endforeach @endif Add Tag |
---|
Total Completed Orders{{ $shop->getshopReports->TotalCount}} |
Total Income{{ $shop->getshopReports->TotalIncume}} ORM |
Tax: %{{(array_get($shop->TaxOne, 'value' )+ array_get($shop->TaxTwo, 'value' )) *100}}{{ $shop->getshopReports->TotalIncume *(array_get($shop->TaxOne, 'value' )+ array_get($shop->TaxTwo, 'value' ))}} ORM |
Fees: %{{$shop->subscription_fees*100}}{{ $shop->getshopReports->TotalIncume * $shop->subscription_fees}} ORM |
---|
{{$shop->Dealer-> first_name}} {{$shop->Dealer-> login_phone}}
@endif{{ $shop->description }}
{{array_get($shop->TaxTwo, 'name_en' )}}- {{array_get($shop->TaxTwo, 'name_ar' )}} : {{array_get($shop->TaxTwo, 'value' )}}
Delivery Price : {{$shop->delivery_price}} ORM
{{array_get($shop->TaxOne, 'name_en' )}}- {{array_get($shop->TaxOne, 'name_ar' )}}: {{array_get($shop->TaxOne, 'value' )}}
Delivery Time : {{$shop->delivery_time_min}} min
id | created_at | total_value | tax {{array_get($shop->TaxOne, 'value' )+ array_get($shop->TaxTwo, 'value' )}} | store fees {{ $shop->subscription_fees}} | state | CustomerInfo | cartProdcuts | Action |
---|---|---|---|---|---|---|---|---|
{{$order->id}} | {{$order->created_at}} | {{$order->total_value}} | {{$order->total_value * (array_get($shop->TaxOne, 'value' )+ array_get($shop->TaxTwo, 'value' ))}} | {{$order->total_value * $shop->subscription_fees}} | {{$order->state}} | @php ($login_phone ='' ) @php ( $first_name = '' ) @php ( $editUrl ='#' ) @if ($order->CustomerInfo) @php ( $login_phone = $order->CustomerInfo->login_phone ) @php ( $first_name = $order->CustomerInfo->first_name ) @php ( $editUrl = $adminURL.'customers/'. $order->CustomerInfo->id .'/edit/ ' ) @endif{{$login_phone}} , {{$first_name}} | @if ($order->cartProdcuts) @foreach ( $order->cartProdcuts as $cartProdcut) @php ( $editUrl = $adminURL.'products/'. $cartProdcut->Products_id .'/edit/ ' ) {{$cartProdcut->product_name}} @endforeach @endif | @php ( $editUrl = $adminURL.'orders/'. $order->id .'/edit/ ' )Edit |
{{$product->name}}
{{$product->description}}