@extends('admin.layout') @section('title',__('Products')) @section('css') @endsection @section('breadcrump')

{{ __('Products') }}

@endsection @section('content')

{{ __('Products table') }}

{{__('Create')}}
@foreach($products as $product) @endforeach
# {{ __('Merchant') }} {{ __('Name') }} {{ __('Serial Number') }} {{ __('Type') }} {{ __('Storehouse') }} {{ __('Total Stock') }} {{ __('Stock') }} {{ __('Selling times') }} {{ __('Hold times') }} {{ __('Pending times') }} {{ __('Canceled times') }} {{ __('Provider') }} {{ __('Price') }} {{ __('Offer') }} {{ __('Change status') }} {{ __('Status')}} {{ __('Action') }}
{{$product->id}} @if($product['merchant']) {{$product->merchant['name']}} @endif {{$product->name_ar}} {{$product->serial_number}} {{$product->type}} {{__($product->storehouse)}} {{$product->total_stock()}} {{$product->stock}} {{$product->selling_times()}} {{$product->hold_times()}} {{$product->pending_times()}} {{$product->canceled_times()}} {{$product->provider}} {{formated_price($product->price)}} {{formated_price($product->offer)}} @if($product['active']) {{__('Active')}} @else {{__('Unactive')}} @endif
@csrf @method('delete')
@endsection @section('scripts') @include('admin.pages.products.product_index_js') @endsection