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,11 @@
|
||||
<p-card class="w-full border border-primary-700">
|
||||
<div class="flex gap-5 text-primary-400">
|
||||
<div class="shrink-0 pt-1">
|
||||
<i [class]="'pi ' + icon + ' text-2xl'"></i>
|
||||
</div>
|
||||
<div class="grow flex flex-col gap-1">
|
||||
<span class="text-sm">{{ label }}</span>
|
||||
<span class="text-xl font-bold text-primary">{{ value }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</p-card>
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Card } from 'primeng/card';
|
||||
|
||||
@Component({
|
||||
selector: 'details-info-card',
|
||||
templateUrl: './details-info-card.component.html',
|
||||
imports: [Card],
|
||||
})
|
||||
export class DetailsInfoCardComponent {
|
||||
@Input() icon: string = '';
|
||||
@Input() label: string = '';
|
||||
@Input() value: string = '';
|
||||
constructor() {}
|
||||
}
|
||||
Reference in New Issue
Block a user