feat(purchases): update terminology from "محصول" to "کالا" in purchase forms and templates

refactor(purchases): remove unused purchase receipt components and consolidate receipt template logic

fix(suppliers): enhance suppliers select component to support full data option values

style(tailwind): improve theme variables for better customization and consistency

feat(shared): introduce abstract select component for reusable select field logic

chore(purchases): clean up imports and improve component structure for better maintainability
This commit is contained in:
2025-12-10 16:54:25 +03:30
parent 50bc9a4632
commit b46b8b83f9
43 changed files with 450 additions and 391 deletions
@@ -1,4 +1,10 @@
<uikit-field [label]="label" [control]="control" class="w-full datepicker">
<uikit-field
[label]="label"
[control]="control"
[showLabel]="showLabel"
[showErrors]="showErrors"
class="w-full datepicker"
>
<div #wrapper [attr.data-disable]="disabled" [attr.data-name]="name" class="w-full">
<input pInputText data-input [attr.placeholder]="placeholder" [name]="name" class="w-full" />
</div>
@@ -28,6 +28,8 @@ export class UikitFlatpickrJalaliComponent implements OnInit {
@Input() disabled = false;
@Input() name: string = 'datepicker';
@Input() options: Partial<BaseOptions> = {};
@Input() showLabel: boolean = true;
@Input() showErrors: boolean = true;
@Output() valueChange = new EventEmitter<string>();