fix : # is showing for {isBoxed : true}
This commit is contained in:
parent
717bc895a6
commit
79cc372c6a
@ -1,6 +1,5 @@
|
||||
<!-- Responsive Container -->
|
||||
<div class="middle-section-container" [ngStyle]="{ height: containerHeight }">
|
||||
|
||||
<!-- Transaction Summary -->
|
||||
<div class="transaction-summary">
|
||||
<div
|
||||
@ -8,7 +7,6 @@
|
||||
style="background-color: #546c98"
|
||||
>
|
||||
<h5 class="text-center mb-3">Transaction Summary</h5>
|
||||
|
||||
<div
|
||||
class="rounded flex-grow-1"
|
||||
style="background-color: #f1f1f1df; padding: 1rem; overflow: hidden"
|
||||
@ -41,29 +39,24 @@
|
||||
>
|
||||
<table class="table borderless-custom w-100 mb-2 table-main">
|
||||
<colgroup>
|
||||
<col style="width: 12%" />
|
||||
<col style="width: 60%" />
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 18%" />
|
||||
<col style="width: 12%" /> <!-- Label column -->
|
||||
<col style="width: 60%" /> <!-- Numbers column -->
|
||||
<col style="width: 10%" /> <!-- Value column -->
|
||||
<col style="width: 18%" /> <!-- Total column -->
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr *ngFor="let row of filledRows">
|
||||
<td class="custom-cell-new-1">{{ row.label }}</td>
|
||||
<td class="custom-cell-new">{{ row.numbers.join(', ') }}</td>
|
||||
<td class="custom-cell-new">{{ row.isBoxed ? '# ' : '' }}{{ row.numbers.join(', ') }}</td>
|
||||
<td class="custom-cell-new-2">{{ row.value || '' }}</td>
|
||||
<td class="custom-cell-new-3">{{ row.total || '' }}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="buttons-custom d-flex justify-content-between align-items-center">
|
||||
<button class="btn btn-dark">Repeat</button>
|
||||
<div class="fw-bold fs-5">Amount : ₹ {{ grandTotal }}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user