mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Minor fixes
This commit is contained in:
parent
e952c225ae
commit
4b25d7198c
@ -144,7 +144,7 @@ class ZugferdEDokument extends AbstractService
|
||||
foreach ($this->document->line_items as $index => $item) {
|
||||
/** @var InvoiceItem $item **/
|
||||
$this->xdocument->addNewPosition($index)
|
||||
->setDocumentPositionGrossPrice($item->gross_line_total + $item->discount)
|
||||
->setDocumentPositionGrossPrice($item->gross_line_total)
|
||||
->setDocumentPositionNetPrice($item->line_total);
|
||||
if (!empty($item->product_key)) {
|
||||
if (!empty($item->notes)) {
|
||||
|
Loading…
Reference in New Issue
Block a user