Add multi-branch POS with team roles and branch-scoped cashiers.
Deploy Ladill POS / deploy (push) Successful in 1m58s

Pro and Business users can manage branches, invite cashiers with branch assignment, and switch registers; sales and register flows respect acting location.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-08 06:05:30 +00:00
co-authored by Cursor
parent cac7c60415
commit 9d7dac6c24
34 changed files with 1434 additions and 30 deletions
+3 -3
View File
@@ -19,16 +19,16 @@ class TableController extends Controller
public function index(Request $request): View
{
$owner = $this->ownerRef($request);
$location = $this->locations->ensureDefault($owner);
$location = $this->location($request);
$tables = PosTable::owned($owner)
$tables = $this->scopeToLocation($request, PosTable::owned($owner))
->with('currentSale')
->orderBy('area')
->orderBy('position')
->orderBy('label')
->get();
$openTickets = PosSale::owned($owner)
$openTickets = $this->scopeToLocation($request, PosSale::owned($owner))
->openTickets()
->with('table')
->withCount('lines')