Pārlūkot izejas kodu

[Backend] Document : correctif download

refactoring
Guillaume pirms 1 gada
vecāks
revīzija
42c05fba8d
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      backend/views/document/download.php

+ 2
- 2
backend/views/document/download.php Parādīt failu

<?php if (strlen($document->reference)) : ?> <?php if (strlen($document->reference)) : ?>
<?= $documentManager->getType($document); ?> N°<?= $document->reference; ?> <?= $documentManager->getType($document); ?> N°<?= $document->reference; ?>
<?php else: ?> <?php else: ?>
<div class="block-is-draft"><?= $document->getType(); ?> non
validé<?= ($document->getType() == 'Facture') ? 'e' : '' ?></div>
<div class="block-is-draft"><?= $documentManager->getType($document); ?> non
validé<?= ($documentManager->getType($document) == 'Facture') ? 'e' : '' ?></div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<div class="name"> <div class="name">

Notiek ielāde…
Atcelt
Saglabāt