controller->getClass() != 'DeliveryNote' || (Yii::$app->controller->getClass() == 'DeliveryNote' && Producer::getConfig('document_display_prices_delivery_note')) ;
$displayProductDescription = Producer::getConfig('document_display_product_description');
?>
logo)) : ?>
= $producer->getFullAddress(true) ; ?>
address && strlen($document->address) > 0): ?>
= nl2br($document->address) ?>
= $document->user->getFullAddress(true) ; ?>
Le = strftime('%d %B %Y', strtotime($document->date)) ?>
reference)) : ?>
= $document->getType(); ?> N°= $document->reference ; ?>
= $document->getType(); ?> non validé= ($document->getType() == 'Facture') ? 'e' : '' ?>
Libellé : = $document->name ; ?>
comment)): ?>
Commentaire
= Html::encode($document->comment) ?>
orders) > 0) : ?>
Produit |
taxRate->value == 0): ?>
Prix unitaire |
Prix unitaire HT |
Quantité |
Unité |
taxRate->value == 0): ?>
Prix |
TVA |
Prix HT |
isDisplayOrders()): ?>
orders as $order): ?>
= Html::encode($order->getUsername()) ; ?>
distribution): ?>
le = date('d/m/Y', strtotime($order->distribution->date)) ?>
|
|
|
|
taxRate->value != 0): ?>
|
|
productOrder as $productOrder): ?>
= $this->render('_download_product_line', [
'document' => $document,
'productOrder' => $productOrder,
'displayOrders' => true,
'displayPrices' => $displayPrices,
'displayProductDescription' => $displayProductDescription
]) ?>
getProductsOrders() as $product): ?>
= $this->render('_download_product_line', [
'document' => $document,
'productOrder' => $productOrder,
'displayPrices' => $displayPrices,
'displayProductDescription' => $displayProductDescription
]) ?>
isInvoicePrice() ? Order::INVOICE_AMOUNT_TOTAL : Order::AMOUNT_TOTAL ; ?>
taxRate->value != 0): ?>
Total HT |
= Price::format($document->getAmount($typeAmount)); ?>
|
getTotalVatArray($typeAmount) as $idTaxRate => $totalVat): ?>
TVA = $taxRateArray[$idTaxRate]->value * 100 ?> % |
= Price::format($totalVat); ?>
|
Total TTC |
= Price::format($document->getAmountWithTax($typeAmount)) ?> |
Total
TVA non applicable
|
= Price::format($document->getAmount($typeAmount)) ?> |
Aucun produit
getClass())) ; ?>
$fieldProducerDocumentInfo)): ?>
Informations
= nl2br(Html::encode($producer->$fieldProducerDocumentInfo)) ?>