@@ -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> | |||