822bf96966
- Implemented CompanyNameComponent, DescriptionComponent, DeviceIdComponent, EconomicCodeComponent, EmailComponent, FirstNameComponent, FiscalCodeComponent, GuildIdComponent, LastNameComponent, LegalNameComponent, LicenseStartsAtComponent, MobileComponent, MobileNumberComponent, ModelComponent, NameComponent, NationalCodeComponent, NationalIdComponent, PartnerTokenComponent, PosTypeComponent, PostalCodeComponent, ProviderIdComponent, QuantityComponent, RegistrationCodeComponent, RegistrationNumberComponent, SerialNumberComponent, SetOffComponent, SkuComponent, TerminalComponent, UnitPriceComponent, UsernameComponent. - Added field control configurations for new fields in the form. - Updated routing and branding configurations for TIS tenant. - Created consumer type models for handling individual and legal consumer data.
14 lines
546 B
TypeScript
14 lines
546 B
TypeScript
import { CatalogGuildSelectComponent } from '@/shared/catalog/guild/components/select.component';
|
|
import { Component, Input } from '@angular/core';
|
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
@Component({
|
|
selector: 'field-guild-id',
|
|
template: `<catalog-guild-select label="صنف" [control]="control" [name]="name" />`,
|
|
imports: [ReactiveFormsModule, CatalogGuildSelectComponent],
|
|
})
|
|
export class GuildIdComponent {
|
|
@Input({ required: true }) control = new FormControl<string>('');
|
|
@Input() name = 'guild_id';
|
|
}
|