Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Voici un exemple de bloc fiscale à apposer sur les documents FACTURES :

```

{#if($document.invoice.fiscalSignatureRestitution)
}
Données fiscales :
{#set ($numberOfLines = $document.invoice.saleSummary.countItemLines() + $document.invoice.refundSummary.countItemLines())
#set ($integer = 1)
#set ($printCounter = ($integer.parseInt($document.invoice.printCounter)))
#set ($reprintCounter = ($printCounter - 1))
}Document n° : {$document.invoice.number} {#if($printCounter > 1)}DUPLICATA {$reprintCounter}{#else}original{#end}
Date de transaction : {#formatDate($document.invoice.date "dd.MM.yyyy, HH:mm" $document.locale)}
Version du logiciel : {#showValue($document.metadata.solutionVersion)}
Nombre de lignes : {$numberOfLines}
Point de vente : {#showValue($document.organization.salesChannel.pointOfSales.code "-")}
Opérateur : {$document.organization.printingOperatorName}
Signature : {$document.invoice.fiscalSignatureRestitution}
{#end
}```

Voici un exemple de bloc fiscale à apposer sur les documents RECAPITULATIFS DE COMMANDES :

...