feat(client): add client context to sales and expenses creation
- Disable branch selection in sale form when creating from client context - Pass client ID to create pages via URL parameter - Update breadcrumbs to reflect client navigation path - Simplify relation managers by reusing resource tables and adding custom create actions
This commit is contained in:
@@ -40,6 +40,7 @@ class SaleResource extends Resource
|
||||
->afterStateUpdated(function ($set, $get) {
|
||||
$set('branch_id', '');
|
||||
})
|
||||
->disabled()
|
||||
->required()
|
||||
->live(),
|
||||
Select::make('branch_id')
|
||||
|
||||
Reference in New Issue
Block a user