-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removes type, exchange_rate field from the orders. * Fixes enable Receipts tab after a send order. * Removes exange_rate from the receipt. * Reloads files on the file component when the tab panel is selected. * Removes exange_rate, order_date and receipt_date form the order lines. * Adds a generic notes component. * Adds an URL tab parameter to the order detailed view to activate the receipt tab based on the URL. * Reloads the data for the order lines and receipts on the order detailed view when the tab is selected. * Removes the continue button on the receipt view. * Removes receipt and receipt lines detailed view. * Fixes notes and amount_adjustments on the receipt editor. * Fixes action button disabled property. Co-Authored-by: Johnny Mariéthoz <[email protected]> Co-Authored-by: Pascal Repond <[email protected]>
- Loading branch information
1 parent
a4b2c29
commit 1a658b7
Showing
50 changed files
with
505 additions
and
1,522 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
45 changes: 0 additions & 45 deletions
45
...ts/editor/widget/select-account-editor-widget/select-account-editor-widget.component.scss
This file was deleted.
Oops, something went wrong.
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
13 changes: 13 additions & 0 deletions
13
projects/admin/src/app/acquisition/components/notes/notes.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,13 @@ | ||
<dl class="metadata"> | ||
@for (note of notes(); track note) { | ||
<dt> | ||
<p-tag [value]="note.type | translate" [severity]="note | noteBadgeColor" /> | ||
</dt> | ||
<dd> | ||
<blockquote | ||
class="p-0 m-0" | ||
[innerHTML]="note.content | nl2br" | ||
></blockquote> | ||
</dd> | ||
} | ||
</dl> |
10 changes: 10 additions & 0 deletions
10
projects/admin/src/app/acquisition/components/notes/notes.component.ts
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,10 @@ | ||
import { Component, input } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'admin-notes', | ||
templateUrl: './notes.component.html' | ||
}) | ||
export class NotesComponent { | ||
|
||
notes = input<[{type, content}]>(); | ||
} |
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
100 changes: 0 additions & 100 deletions
100
...min/src/app/acquisition/components/order/order-brief-view/order-brief-view.component.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.