@extends('layouts.app') @section('title', 'Printer Routing') @section('content')

Per-Branch Printer Routing

Back to Categories
Set a different printer per branch for each menu category — useful when each location has its own physical Kitchen/Bar printer. Leave a cell as "Use default" to fall back to that category's default printer (set on the Categories page), which is what single-location setups should generally just leave alone.
@if ($branches->isEmpty())

Add at least one branch first (Admin → Branches) to use per-branch routing.

@else
@csrf
@foreach ($branches as $branch) @endforeach @foreach ($categories as $category) @foreach ($branches as $branch) @php $existing = optional($routes->get($category->id . '-' . $branch->id))->first(); $branchPrinters = $printers->get($branch->id, collect()); @endphp @endforeach @endforeach
Category{{ $branch->name }}
{{ $category->name }} @if ($branchPrinters->isEmpty())
No printers set up for this branch yet.
@endif
@endif @endsection