-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
- Loading branch information
1 parent
8a5fd1e
commit db56680
Showing
3 changed files
with
27 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<div class="report-grid"> | ||
<b i18n>Beginning Balance</b><b>{{report.beginningBalance | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<span i18n>Sales</span><span>{{report.sales | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<span i18n>Other</span><span>{{report.otherIncome | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<b i18n>Total Income</b><b>{{income | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<span i18n>Personnel</span><span>{{report.wages | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<span i18n>Non-Personnel</span><span>{{report.otherExpenses | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<b i18n>Total Expenses</b><b>{{expenses | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<b i18n>Profit/Loss</b><b>{{net | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<b i18n>Ending Balance</b><b>{{endingBalance | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<div class="report-grid-container"> | ||
<div class="report-grid"> | ||
<b i18n>Beginning Balance</b><b>{{report.beginningBalance | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<span i18n>Sales</span><span>{{report.sales | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<span i18n>Other</span><span>{{report.otherIncome | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<b i18n>Total Income</b><b>{{income | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<span i18n>Personnel</span><span>{{report.wages | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<span i18n>Non-Personnel</span><span>{{report.otherExpenses | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</span> | ||
<b i18n>Total Expenses</b><b>{{expenses | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<mat-divider class="full-width"></mat-divider> | ||
<b i18n>Profit/Loss</b><b>{{net | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
<b i18n>Ending Balance</b><b>{{endingBalance | currency:this.curCode?.code:this.curCode?.symbol:'1.0-2'}}</b> | ||
</div> | ||
<ng-container *ngIf="showSummary"> | ||
<h4 i18n>Report Summary</h4> | ||
<planet-markdown [content]="report.description"></planet-markdown> | ||
<div><ng-container i18n>Report created on:</ng-container> {{report.createdDate | date }}<ng-container *ngIf="report.createdDate !== report.updatedDate"> | <ng-container i18n>Updated on:</ng-container> {{report.updatedDate | date}}</ng-container></div> | ||
</ng-container> | ||
</div> | ||
<ng-container *ngIf="showSummary"> | ||
<h4 i18n>Report Summary</h4> | ||
<planet-markdown [content]="report.description"></planet-markdown> | ||
<div><ng-container i18n>Report created on:</ng-container> {{report.createdDate | date }}<ng-container *ngIf="report.createdDate !== report.updatedDate"> | <ng-container i18n>Updated on:</ng-container> {{report.updatedDate | date}}</ng-container></div> | ||
</ng-container> |
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