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:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user