-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable the b2b user to enter an order reference id during check…
…out (#714)
- Loading branch information
Showing
15 changed files
with
328 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...app/shared/components/basket/basket-order-reference/basket-order-reference.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div class="section"> | ||
<h3>{{ 'checkout.orderReferenceId.title' | translate }}</h3> | ||
|
||
<form [formGroup]="form" (ngSubmit)="submitForm()"> | ||
<div class="row"> | ||
<div *ngIf="showSuccessMessage" class="col-md-12"> | ||
<ish-success-message message="checkout.orderReferenceId.success.message" [toast]="false"></ish-success-message> | ||
</div> | ||
<div class="col-md-10"> | ||
<formly-form [form]="form" [fields]="fields" [model]="model"> </formly-form> | ||
</div> | ||
<div class="col-md-2 pl-md-0"> | ||
<button type="submit" class="btn btn-secondary" [disabled]="disabled"> | ||
{{ 'checkout.orderReferenceId.apply.button.label' | translate }} | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> |
Oops, something went wrong.