Implement toggle for read/write mode across entity pages and enhance Documents and Divers functionality
- Added a toggle for switching between read and write modes on the Articles, Documents, Journaux, Tiers, and Divers pages, allowing users to access both data retrieval and data submission endpoints. - Updated the Documents page to cover all 9 documented endpoints, including 7 for reading and 2 for writing, with appropriate error handling. - Created a new Divers page to handle three endpoints: getserialnumber, codes_list, and custom_geninv_updatestock (the latter being non-functional). - Introduced new methods in LogisticsService for handling PDF generation and stock updates, with corresponding updates in the API documentation. - Improved form field components for better visual spacing in input fields.
This commit is contained in:
@@ -19,6 +19,8 @@ class Journaux extends Page
|
||||
|
||||
protected string $view = 'filament.pages.journaux';
|
||||
|
||||
public string $mode = 'read';
|
||||
|
||||
public string $select = '';
|
||||
|
||||
public int $results = 10;
|
||||
|
||||
Reference in New Issue
Block a user