@extends('layouts.store') @section('title', 'Business order — Meatworx') @section('content')

Place order

Prices stay off this screen

All @foreach($categories as $category) {{ $category->name }} @endforeach
My orders
@if($lastOrder)
@csrf
@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.

@endsection