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>
|
||||
<textarea matInput formControlName="address" rows="2"></textarea>
|
||||
</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-label>Contact Phone</mat-label>
|
||||
<input matInput formControlName="contactPhone" />
|
||||
|
||||
@@ -53,6 +53,7 @@ export class BranchProfileComponent implements OnInit {
|
||||
branchCode: [''],
|
||||
branchType: [null],
|
||||
address: [''],
|
||||
pincode: [''],
|
||||
contactPhone: [''],
|
||||
contactEmail: [''],
|
||||
workingHoursStart: [''],
|
||||
@@ -102,6 +103,7 @@ export class BranchProfileComponent implements OnInit {
|
||||
branchCode: res.branchCode ?? '',
|
||||
branchType: res.branchType ?? null,
|
||||
address: res.address ?? '',
|
||||
pincode: res.pincode ?? '',
|
||||
contactPhone: res.contactPhone ?? '',
|
||||
contactEmail: res.contactEmail ?? '',
|
||||
workingHoursStart: res.workingHoursStart ?? '',
|
||||
|
||||
Reference in New Issue
Block a user