- 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.
12 lines
509 B
PHP
12 lines
509 B
PHP
@props(['label', 'id', 'type' => 'text', 'placeholder' => ''])
|
|
|
|
<div>
|
|
<label for="{{ $id }}" class="block text-sm font-medium text-gray-700 dark:text-gray-300">{{ $label }}</label>
|
|
<input
|
|
{{ $attributes->class(['mt-1.5 w-full rounded-lg border-gray-300 py-2 pl-3 text-sm shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-white/10 dark:bg-white/5 dark:text-white']) }}
|
|
type="{{ $type }}"
|
|
id="{{ $id }}"
|
|
placeholder="{{ $placeholder }}"
|
|
/>
|
|
</div>
|