瀏覽代碼

Merge branch 'dev'

prodstable
Guillaume 2 年之前
父節點
當前提交
43fc285718
共有 1 個檔案被更改,包括 7 行新增7 行删除
  1. +7
    -7
      backend/views/document/download.php

+ 7
- 7
backend/views/document/download.php 查看文件

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

Loading…
取消
儲存