@extends('admin.layout.master') @section('title',$title) @section('custom_style') @endsection @section ('content')

{{$title}}

@if(!marketing_customer()) @else @endif
@csrf
@if(count($shops)>0)

@elseif(count($parties)>0)
@endif @if($type>3 && $type<6)
@elseif(count($parties)>0) @endif
@php $i=1; $productData=[]; @endphp @forelse ($finishedProducts as $cat) @php $k=1; @endphp {{-- @forelse ($cat->product->sortBy('serial') as $item) --}} @forelse ($cat->product as $item) @php // $productData[$item->id]=$item; array_push($productData,$item); @endphp @if($type) @else {{-- --}} @endif {{-- --}} @empty @endforelse @empty @endforelse
# {{__('obs.product')}} {{__('obs.english')}} {{__('obs.product')}} {{__('obs.rate')}} {{__('obs.quantity')}}
{{$cat->name_local}}
{{ $k++ }} {{ $item->name_eng }} {{-- --}} {{ $item->name_local }} @php $freeProduct=$carts->where('product_id',$item->id)->first(); @endphp @if($freeProduct) ({{$freeProduct->free_quantity.' : '.$freeProduct->min_sale_quantity}}) @if($freeProduct->product_id!=$freeProduct->free_product_id) {{$freeProduct->freeProduct?$freeProduct->freeProduct->name_eng:''}} @endif
@endif
{{number_format((($item->currentPrice?$item->currentPrice->sell_price:$item->sell_price)*$item->unit_quantity),2) }}

@include('inventory.order.admin.cart') @include('inventory.global.img_show') @endsection @section('script') @stop