Add LineItem CSV import and fix Unit API

This commit is contained in:
2025-12-08 13:20:52 +01:00
parent ee6525b549
commit 7ddf1337c1
12 changed files with 437 additions and 59 deletions
+3 -3
View File
@@ -54,9 +54,9 @@
<address>
<div class="sender">
{{ $companyname }},
{{ $companyName }},
{{ $companyAddress['lineOne'] }},
@if($companyAddress['lineOne'])
@if($companyAddress['lineTwo'])
{{ $companyAddress['lineTwo'] }}
@endif
{{ $companyAddress['postalCode'] }}
@@ -170,7 +170,7 @@
{{ $item['description'] }}
</td>
<td>@toCommaFloat($item['quantity'])</td>
<td>{{ $item['unit'] }}</td>
<td>{{ $item['unit']['name'] }}</td>
<td>@toCurrency($item['price'])</td>
<td>@toCurrency($item['quantity'] * $item['price'])</td>
</tr>