applied new features of money
package
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<div>
|
||||
<div
|
||||
<div
|
||||
@class([
|
||||
'd-flex align-items-center justify-content-between rp-border-bottom-1 text' => $is_print,
|
||||
'flex items-center justify-between text-xl text-black-400 border-b pb-2' => !$is_print
|
||||
])
|
||||
>
|
||||
<h2>{{ $table_name }}</h2>
|
||||
<span>{{ $class->has_money ? money($grand_total, default_currency(), true) : $grand_total }}</span>
|
||||
<span>{{ $class->has_money ? money($grand_total) : $grand_total }}</span>
|
||||
</div>
|
||||
@if (!empty($class->row_values[$table_key]))
|
||||
<ul
|
||||
|
@ -28,7 +28,7 @@
|
||||
@endif
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
</div>
|
||||
<span>{{ $class->has_money ? money($row_total, default_currency(), true) : $row_total }}</span>
|
||||
<span>{{ $class->has_money ? money($row_total) : $row_total }}</span>
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
@ -73,7 +73,7 @@
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
<span>{{ $class->has_money ? money($row_total, default_currency(), true) : $row_total }}</span>
|
||||
<span>{{ $class->has_money ? money($row_total) : $row_total }}</span>
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
@ -91,7 +91,7 @@
|
||||
<div style="display:flex; align-items: center; padding-left: {{ ($tree_level + 1) * 20 }}px;">
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
</div>
|
||||
<span>{{ $class->has_money ? money($row_total, default_currency(), true) : $row_total }}</span>
|
||||
<span>{{ $class->has_money ? money($row_total) : $row_total }}</span>
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user