Add multi-branch POS with team roles and branch-scoped cashiers.
Deploy Ladill POS / deploy (push) Successful in 1m58s
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:
@@ -23,7 +23,7 @@ class SaleController extends Controller
|
||||
|
||||
public function index(Request $request): View
|
||||
{
|
||||
$sales = PosSale::owned($this->ownerRef($request))
|
||||
$sales = $this->scopeToLocation($request, PosSale::owned($this->ownerRef($request)))
|
||||
->with('lines')
|
||||
->latest()
|
||||
->paginate(25)
|
||||
|
||||
Reference in New Issue
Block a user