Skip to content

Commit

Permalink
feat: integrated quote request submittedDate
Browse files Browse the repository at this point in the history
  • Loading branch information
mlegeler authored and Sebastian-Haehnlein committed Apr 15, 2020
1 parent 8fbeaf2 commit 86839d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface QuoteRequestData {
id: string;
number: string;
creationDate: number;
submittedDate?: number;
total: Price;
items: Link[];
modified?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface AbstractQuoteRequest<T> {
id: string;
number: string;
creationDate: number;
submittedDate?: number;
total: Price;
items: (Link | T)[];
state: QuoteRequestStateType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>
<div *ngIf="quote.state === 'Submitted' && !submitted" data-testing-id="success-message" class="alert alert-info">
{{
'quote.edit.submitted.your_quote_request_has_been_submitted.text'
| translate: { '0': quote.creationDate | ishDate: 'shortDate' }
| translate: { '0': quote.submittedDate || quote.creationDate | ishDate: 'shortDate' }
}}
</div>

Expand Down Expand Up @@ -149,15 +149,6 @@ <h1>
</div>
</div>

<!-- TODO: SubmittedToSeller date is missing in api. Please implement when available.
<isif condition="#(Quote:State==3) AND (LinkSource NE "Shopping")#">
<div class="alert alert-info"><istext key="quote.edit.submitted.your_quote_has_been_submitted.text" parameter0="#getValue(Quote:ProductListEventByType("SubmittedToSeller"):EventDate, DATE_INPUT)#" /></div>
<iselseif condition="#isDefined(ERRORCODE_QUOTEVALIDATION)#">
<div class="alert alert-info">
<istext key="#ERRORCODE_QUOTEVALIDATION#"/>
</div>
</isif> -->

<!-- Quote Item List -->
<div class="section">
<h3>{{ 'quote.items.table.heading' | translate }}</h3>
Expand Down

0 comments on commit 86839d7

Please sign in to comment.