feat(inventories): implement inventory movement list and transfer functionality
- Added InventoryMovementListComponent to display stock movements with filtering options. - Created InventoriesTransferFormComponent for transferring stock between inventories. - Implemented product cardex view to show detailed inventory movements for specific products. - Enhanced product listing with loading states and improved UI components. - Introduced Jalali date formatting directive for better date representation. - Added utility functions for Jalali date conversions and comparisons. - Created reusable details info card component for displaying inventory details. - Updated movement reference types and tags for better categorization of inventory movements.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<div class="flex items-center border rounded overflow-hidden bg-white" [class.opacity-60]="disabled">
|
||||
<button
|
||||
type="button"
|
||||
pButton
|
||||
class="p-button p-component flex items-center justify-center px-3"
|
||||
(click)="decrease()"
|
||||
[disabled]="disabled"
|
||||
aria-label="decrease"
|
||||
>
|
||||
-
|
||||
</button>
|
||||
|
||||
<input
|
||||
class="text-center w-16 px-2 py-1 outline-none"
|
||||
type="number"
|
||||
[value]="value"
|
||||
(input)="onInput($event)"
|
||||
[min]="min ?? undefined"
|
||||
[max]="max ?? undefined"
|
||||
[step]="step"
|
||||
[disabled]="disabled"
|
||||
aria-label="quantity"
|
||||
/>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
pButton
|
||||
class="p-button p-component flex items-center justify-center px-3"
|
||||
(click)="increase()"
|
||||
[disabled]="disabled"
|
||||
aria-label="increase"
|
||||
>
|
||||
+
|
||||
</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user