getProducerManager(); $userManager = $this->getUserManager(); $documentManager = $this->getDocumentManager(); $orderManager = $this->getOrderManager(); $displayPrices = Yii::$app->controller->getClass() != 'DeliveryNote' || (Yii::$app->controller->getClass() == 'DeliveryNote' && $producerManager->getConfig('document_display_prices_delivery_note')); $displayProductDescription = $producerManager->getConfig('document_display_product_description'); $documentPriceDecimals = (int) $producerManager->getConfig('option_document_price_decimals'); ?>
logo)) : ?>
getFullAddress($producer, true); ?>
address && strlen($document->address) > 0): ?> address) ?> getFullAddress($document->user, true); ?>
Le date)) ?>
reference)) : ?> getType($document); ?> N°reference; ?>
getType($document); ?> non validégetType($document) == 'Facture') ? 'e' : '' ?>
Libellé : name; ?>
comment)): ?>
Commentaire
comment) ?>
orders) > 0) : ?> taxRate->value == 0): ?> taxRate->value == 0): ?> isDocumentDisplayOrders($document)): ?> orders as $order): ?> taxRate->value != 0): ?> productOrder as $productOrder): ?> render('_download_product_line', [ 'producer' => $producer, 'document' => $document, 'productOrder' => $productOrder, 'displayOrders' => true, 'displayPrices' => $displayPrices, 'displayProductDescription' => $displayProductDescription, 'documentPriceDecimals' => $documentPriceDecimals ]) ?> getProductsOrders($document) as $product): ?> render('_download_product_line', [ 'producer' => $producer, 'document' => $document, 'productOrder' => $productOrder, 'displayPrices' => $displayPrices, 'displayProductDescription' => $displayProductDescription, 'documentPriceDecimals' => $documentPriceDecimals ]) ?> isInvoicePrice($document) ? Order::INVOICE_AMOUNT_TOTAL : Order::AMOUNT_TOTAL; ?> taxRate->value != 0): ?> getTaxRateManager()->findTaxRatesAsArray(); foreach ($documentManager->getTotalVatArray($document, $typeAmount) as $idTaxRate => $totalVat): ?>
Produit Prix unitaire Prix unitaire HT Quantité Unité Prix TVA Prix HT
getOrderUsername($order); ?> distribution): ?> le distribution->date)) ?>
Total HT getAmount($document, $typeAmount)); ?>
TVA value * 100 ?> %
Total TTC getAmountWithTax($document, $typeAmount)) ?>
Total
TVA non applicable
getAmount($document, $typeAmount)) ?>
Aucun produit
getClass($document))); ?> $fieldProducerDocumentInfo)): ?>
Informations
$fieldProducerDocumentInfo)) ?>