瀏覽代碼

[backend] Documents : affichage de l'adresse

prodstable
Guillaume 2 年之前
父節點
當前提交
701e3d4f6d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      backend/views/document/download.php

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

@@ -16,7 +16,11 @@ $displayPrices = Yii::$app->controller->getClass() != 'DeliveryNote' || (Yii::$a
<div class="address"><?= $producer->getFullAddress(true) ; ?></div>
</div>
<div class="user">
<?php if($document->address && strlen($document->address) > 0): ?>
<?= nl2br($document->address) ?>
<?php else: ?>
<?= $document->user->getFullAddress(true) ; ?>
<?php endif; ?>
</div>
</div>


Loading…
取消
儲存