{{ $tab['name'] }}

@csrf
max_orders) }}'> {!! $errors->first('max_orders', '

:message

') !!}
{{ __('back.minimumPurchase') }} {{ __('back.leaveBlankToCancelTheMinimum') }}
@php $categories_ids = $model->categories->pluck('category_id'); $products = \App\Models\Product::where('branch_id', $model->branch_id) ->whereIn('category_id', $categories_ids) ->orderBy('name') ->get(); @endphp @foreach ($products as $product)
id . ']', @$model->max_orders_per_products[$product->id]) }}'>
@endforeach