toomed Posted April 11, 2022 Share Posted April 11, 2022 Pouvez-vous svp m'aider à ajouter le numéro des transactions dans les factures j'ai le code suivant je veux ajouter le code qui convient au lieu des étoiles. PS : la table où se trouve le numéro des transactions est 'ps_order_payment' et le champ est 'transaction_id': <table id="summary-tab" width="100%"> <tr> <th class="header small" valign="middle">{l s='Invoice Number' pdf='true'}</th> <th class="header small" valign="middle">{l s='id Client' pdf='true'}</th> <th class="header small" valign="middle">{l s='id Transaction' pdf='true'}</th> <th class="header small" valign="middle">{l s='Order Reference' pdf='true'}</th> <th class="header small" valign="middle">{l s='Invoice Date' pdf='true'}</th> <th class="header small" valign="middle">{l s='Order date' pdf='true'}</th> {if $addresses.invoice->vat_number} <th class="header small" valign="middle">{l s='VAT Number' pdf='true'}</th> {/if} </tr> <tr> <td class="center small white">{$title|escape:'html':'UTF-8'}</td> <td class="center small white">{$order->id_customer}</td> <td class="center small white">************************************</td> <td class="center small white">{$order->getUniqReference()}</td> <td class="center small white">{dateFormat date=$order->invoice_date full=0}</td> <td class="center small white">{dateFormat date=$order->date_add full=0}</td> {if $addresses.invoice->vat_number} <td class="center small white"> {$addresses.invoice->vat_number} </td> {/if} </tr> </table> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now