Compare commits
2 Commits
922016020a
...
2605899348
| Author | SHA1 | Date | |
|---|---|---|---|
| 2605899348 | |||
| de3c815532 |
@@ -117,7 +117,7 @@
|
||||
<cbc:PayableAmount currencyID="{{ $invoice->currency_code }}">{{ $invoice->sum }}</cbc:PayableAmount>
|
||||
</cac:LegalMonetaryTotal>
|
||||
@foreach($invoice->items as $item)
|
||||
<cac:InvoiceLine>+
|
||||
<cac:InvoiceLine>
|
||||
<cbc:ID>1</cbc:ID>
|
||||
<cbc:InvoicedQuantity unitCode="C62">{{ $item->amount }}</cbc:InvoicedQuantity>
|
||||
<cbc:LineExtensionAmount currencyID="{{ $invoice->currency_code }}">{{ $item->amount * $item->price * (100 - $item->discount) / 100 }}</cbc:LineExtensionAmount>
|
||||
|
||||
Reference in New Issue
Block a user