feat(branch-profile): add pincode field
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,10 @@
|
|||||||
<mat-label>Address</mat-label>
|
<mat-label>Address</mat-label>
|
||||||
<textarea matInput formControlName="address" rows="2"></textarea>
|
<textarea matInput formControlName="address" rows="2"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
<mat-form-field appearance="outline" class="bp-field bp-field--half">
|
||||||
|
<mat-label>Pincode</mat-label>
|
||||||
|
<input matInput formControlName="pincode" maxlength="10" placeholder="e.g. 462001" />
|
||||||
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline" class="bp-field bp-field--half">
|
<mat-form-field appearance="outline" class="bp-field bp-field--half">
|
||||||
<mat-label>Contact Phone</mat-label>
|
<mat-label>Contact Phone</mat-label>
|
||||||
<input matInput formControlName="contactPhone" />
|
<input matInput formControlName="contactPhone" />
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ export class BranchProfileComponent implements OnInit {
|
|||||||
branchCode: [''],
|
branchCode: [''],
|
||||||
branchType: [null],
|
branchType: [null],
|
||||||
address: [''],
|
address: [''],
|
||||||
|
pincode: [''],
|
||||||
contactPhone: [''],
|
contactPhone: [''],
|
||||||
contactEmail: [''],
|
contactEmail: [''],
|
||||||
workingHoursStart: [''],
|
workingHoursStart: [''],
|
||||||
@@ -102,6 +103,7 @@ export class BranchProfileComponent implements OnInit {
|
|||||||
branchCode: res.branchCode ?? '',
|
branchCode: res.branchCode ?? '',
|
||||||
branchType: res.branchType ?? null,
|
branchType: res.branchType ?? null,
|
||||||
address: res.address ?? '',
|
address: res.address ?? '',
|
||||||
|
pincode: res.pincode ?? '',
|
||||||
contactPhone: res.contactPhone ?? '',
|
contactPhone: res.contactPhone ?? '',
|
||||||
contactEmail: res.contactEmail ?? '',
|
contactEmail: res.contactEmail ?? '',
|
||||||
workingHoursStart: res.workingHoursStart ?? '',
|
workingHoursStart: res.workingHoursStart ?? '',
|
||||||
|
|||||||
Reference in New Issue
Block a user