|
|
@@ -36,6 +36,13 @@ $displayPrices = Yii::$app->controller->getClass() != 'DeliveryNote' || (Yii::$a |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<?php if(strlen($document->comment)): ?> |
|
|
|
<div class="block-infos"> |
|
|
|
<strong>Commentaire</strong><br /> |
|
|
|
<?= Html::encode($document->comment) ?> |
|
|
|
</div> |
|
|
|
<?php endif; ?> |
|
|
|
|
|
|
|
<div id="block-products"> |
|
|
|
<?php if(count($document->orders) > 0) : ?> |
|
|
|
<table class="table table-bordered"> |
|
|
@@ -141,13 +148,6 @@ $displayPrices = Yii::$app->controller->getClass() != 'DeliveryNote' || (Yii::$a |
|
|
|
<?php endif; ?> |
|
|
|
</div> |
|
|
|
|
|
|
|
<?php if(strlen($document->comment)): ?> |
|
|
|
<div class="block-infos"> |
|
|
|
<strong>Commentaire</strong><br /> |
|
|
|
<?= Html::encode($document->comment) ?> |
|
|
|
</div> |
|
|
|
<?php endif; ?> |
|
|
|
|
|
|
|
<?php |
|
|
|
$fieldProducerDocumentInfo = 'document_infos_'.str_replace('deliverynote','delivery_note',strtolower($document->getClass())) ; ?> |
|
|
|
<?php if(strlen($producer->$fieldProducerDocumentInfo)): ?> |