|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</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"> |
|
|
<div id="block-products"> |
|
|
<?php if(count($document->orders) > 0) : ?> |
|
|
<?php if(count($document->orders) > 0) : ?> |
|
|
<table class="table table-bordered"> |
|
|
<table class="table table-bordered"> |
|
|
|
|
|
|
|
|
<?php endif; ?> |
|
|
<?php endif; ?> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<?php if(strlen($document->comment)): ?> |
|
|
|
|
|
<div class="block-infos"> |
|
|
|
|
|
<strong>Commentaire</strong><br /> |
|
|
|
|
|
<?= Html::encode($document->comment) ?> |
|
|
|
|
|
</div> |
|
|
|
|
|
<?php endif; ?> |
|
|
|
|
|
|
|
|
|
|
|
<?php |
|
|
<?php |
|
|
$fieldProducerDocumentInfo = 'document_infos_'.str_replace('deliverynote','delivery_note',strtolower($document->getClass())) ; ?> |
|
|
$fieldProducerDocumentInfo = 'document_infos_'.str_replace('deliverynote','delivery_note',strtolower($document->getClass())) ; ?> |
|
|
<?php if(strlen($producer->$fieldProducerDocumentInfo)): ?> |
|
|
<?php if(strlen($producer->$fieldProducerDocumentInfo)): ?> |