Pedalman Posted April 26, 2018 Share Posted April 26, 2018 Hallo ich habe gerade erst festgestellt, dass sobald Artikel gekauft wurden, die reduziert sind, eine weitere Spalte auf der Rechnung erscheint: Grundpreis (o. MwSt.) Ich denke sie sollte heißen Grundpreis vor Preisreduzierung oder ähnliches (lieber was kurzes). Mein Schnippsel invoice.product-tab.tpl: ``` {l s='Reference' pdf='true'} {l s='Product' pdf='true'} {l s='MwSt.' pdf='true'} {if isset($layout.before_discount)} <th class="product header small" width="{$layout.unit_price_tax_excl.width}%">{l s='Base price' pdf='true'} <br /> {l s='(Tax excl.)' pdf='true'}</th> {/if} <th class="product header-right small" width="{$layout.unit_price_tax_excl.width}%">{l s='Unit Price' pdf='true'} <br /> {l s='(Tax excl.)' pdf='true'}</th> <th class="product header small" width="{$layout.quantity.width}%">{l s='Qty' pdf='true'}</th> <th class="product header-right small" width="{$layout.total_tax_incl.width}%">{l s='Total' pdf='true'} <br /> {l s='(inkl. MwSt.)' pdf='true'}</th> </tr> </thead>``` ``` {if isset($layout.before_discount)} {l s='Base price' pdf='true'} {l s='(Tax excl.)' pdf='true'} {/if}``` Inhalt der Spalte: {if isset($layout.before_discount)} <td class="product center"> {if isset($order_detail.unit_price_tax_excl_before_specific_price)} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl_before_specific_price} {else} -- {/if} </td> {/if} Habt Ihr das besser oder eleganter gelöst? Link to comment Share on other sites More sharing options... colorful-ant Posted April 26, 2018 Share Posted April 26, 2018 @pedalman schau mal wie gefällt dir das bild aus einem thema mit dieser pdf-rechnung? https://forum.thirtybees.com/topic/1617/invoice-messed-up/11 Link to comment Share on other sites More sharing options... Pedalman Posted May 2, 2018 Author Share Posted May 2, 2018 Thank you Ant for the link. That should help. Nice is also, that I, too, have moved the {$summary_tab} block to the right top so my DMS with ocr can more easily archive it... Link to comment Share on other sites More sharing options... 1 month later... colorful-ant Posted June 6, 2018 Share Posted June 6, 2018 @pedalman I have now got an answer and provided the files under tips https://forum.thirtybees.com/topic/1817/pdf-invoice-eleazar Link to comment Share on other sites More sharing options... 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 account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing All Activity Home General Discussion Deutsches Forum - Generelle Fragen Deutsche Rechnungsvorlage × Existing user? Sign In Sign Up Forums Member Blogs Recent Posts Leaderboard Staff Support thirty bees Marketplace Documentation × Create New...
colorful-ant Posted April 26, 2018 Share Posted April 26, 2018 @pedalman schau mal wie gefällt dir das bild aus einem thema mit dieser pdf-rechnung? https://forum.thirtybees.com/topic/1617/invoice-messed-up/11 Link to comment Share on other sites More sharing options...
Pedalman Posted May 2, 2018 Author Share Posted May 2, 2018 Thank you Ant for the link. That should help. Nice is also, that I, too, have moved the {$summary_tab} block to the right top so my DMS with ocr can more easily archive it... Link to comment Share on other sites More sharing options...
colorful-ant Posted June 6, 2018 Share Posted June 6, 2018 @pedalman I have now got an answer and provided the files under tips https://forum.thirtybees.com/topic/1817/pdf-invoice-eleazar Link to comment Share on other sites More sharing options...
Recommended Posts