Browse Source

Merge branch 'dev'

prodstable
Guillaume 2 years ago
parent
commit
43fc285718
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      backend/views/document/download.php

+ 7
- 7
backend/views/document/download.php View File

</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)): ?>

Loading…
Cancel
Save