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
@@ -27,12 +27,13 @@ class SettingsController extends Controller
public function index(Request $request): View
{
$owner = $this->ownerRef($request);
$location = $this->locations->ensureDefault($owner);
$location = $this->location($request);
return view('pos.settings', [
'location' => $location,
'merchantImportEnabled' => (bool) config('pos.merchant_import_enabled', true),
'tables' => PosTable::owned($owner)->orderBy('area')->orderBy('position')->orderBy('label')->get(),
'tables' => $this->scopeToLocation($request, PosTable::owned($owner))
->orderBy('area')->orderBy('position')->orderBy('label')->get(),
]);
}
@@ -56,7 +57,7 @@ class SettingsController extends Controller
->with('upsell', 'Restaurant mode is part of Ladill POS Pro.');
}
$location = $this->locations->ensureDefault($this->ownerRef($request));
$location = $this->location($request);
if ($request->boolean('remove_receipt_logo') && $location->receipt_logo_path) {
Storage::disk('public')->delete($location->receipt_logo_path);
@@ -96,7 +97,7 @@ class SettingsController extends Controller
]);
$owner = $this->ownerRef($request);
$location = $this->locations->ensureDefault($owner);
$location = $this->location($request);
PosTable::create([
'owner_ref' => $owner,