feat: add rapid invoice configuration module with form, service, and integration
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<shared-light-bottomsheet [(visible)]="visible">
|
||||
<shared-light-bottomsheet [(visible)]="visible" header="انتخاب فصل">
|
||||
<div class="mt-1">
|
||||
<label class="mb-1 block text-sm font-medium text-slate-600">انتخاب سال</label>
|
||||
<select
|
||||
[(ngModel)]="selectedYearDraft"
|
||||
class="w-full rounded-xl border border-slate-200 bg-white px-3 py-2 text-slate-700 outline-none">
|
||||
@for (yearItem of years; track yearItem.value) {
|
||||
<option [value]="yearItem.value">{{ yearItem.year }}</option>
|
||||
}
|
||||
</select>
|
||||
<div class="flex flex-col gap-4">
|
||||
<uikit-label name="rapidInvoice"> انتخاب سال</uikit-label>
|
||||
<select
|
||||
[(ngModel)]="selectedYearDraft"
|
||||
class="w-full rounded-xl border border-slate-200 bg-white px-3 py-2 text-slate-700 outline-none">
|
||||
@for (yearItem of years; track yearItem.value) {
|
||||
<option [value]="yearItem.value">{{ yearItem.year }}</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 grid grid-cols-2 gap-2">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { AbstractDialog } from '@/shared/abstractClasses/abstract-dialog';
|
||||
import { UikitLabelComponent } from '@/uikit';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, computed, EventEmitter, Input, Output, signal } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
@@ -23,6 +24,7 @@ interface SeasonItem {
|
||||
SharedLightBottomsheetComponent,
|
||||
FormFooterActionsComponent,
|
||||
ButtonDirective,
|
||||
UikitLabelComponent,
|
||||
],
|
||||
})
|
||||
export class SeasonPickerDialogComponent extends AbstractDialog {
|
||||
|
||||
Reference in New Issue
Block a user