@extends('layouts.store') @section('title', 'Business order — Meatworx') @section('content') Place order Prices stay off this screen Meat @if($filter)@endif All @foreach($categories as $category) {{ $category->name }} @endforeach My orders @if($lastOrder) @csrf Repeat last order {{ $lastOrder->order_number }} @endif @csrf @php $current = null; @endphp @foreach($products as $product) @continue($search !== '' && ! str_contains(strtolower($product->name), strtolower($search))) @continue($filter !== '' && ! $product->categories->contains('slug', $filter)) @php $cat = $product->categories->first()?->name ?? 'Others'; @endphp @if($cat !== $current) @php $current = $cat; @endphp {{ $current }} @endif {{ $product->name }} {{ $product->unit ?: 'kg' }} @if($product->stock_status === 'outofstock') Unavailable today @endif stock_status === 'outofstock')> @endforeach Enter quantities only. The price is added later on the invoice. Review order @endsection
Prices stay off this screen
Enter quantities only. The price is added later on the invoice.