@extends('layouts.vendor.app') @section('title',translate('messages.food_list')) @push('css_or_js') @endpush @section('content')
| {{ translate('messages.sl') }} | {{translate('messages.name')}} | {{translate('messages.category')}} | {{translate('messages.price')}} | @if ($productWiseTax){{ translate('messages.Vat/Tax') }} | @endif{{translate('messages.Recommended')}} | {{translate('messages.status')}} | {{translate('messages.action')}} |
|---|---|---|---|---|---|---|---|
| {{$key+$foods->firstItem()}} |
{{ucwords(Str::limit($food['name'],20,'...'))}}
@if ($food->stock_type != 'unlimited' && $food->item_stock <= 0 )
@php( $stock_out = true)
{{ translate('Out Of Stock') }}
@else
@if($stock_out)
{{-- {{ translate('Out Of Stock') }} --}}
@endif
@endif
|
{{ Str::limit(($food?->category?->parent ? $food?->category?->parent?->name : $food?->category?->name ) ?? translate('messages.uncategorize') , 20, '...') }} |
{{app\CentralLogics\Helpers::format_currency($food['price'])}}
|
@if ($productWiseTax)
@forelse ($food?->taxVats?->pluck('tax.name', 'tax.tax_rate')->toArray() as $key => $tax)
{{ $tax }} :
({{ $key }}%)
@empty {{ translate('messages.N/A') }} @endforelse |
@endif
|
|