add: css-classes, reordering article listing
This commit is contained in:
parent
a212967307
commit
feca5990d2
@ -26,65 +26,40 @@
|
|||||||
[{/block}]
|
[{/block}]
|
||||||
[{* +++++Artikeltabelle+++++*}]
|
[{* +++++Artikeltabelle+++++*}]
|
||||||
[{block name="articleListing"}]
|
[{block name="articleListing"}]
|
||||||
<table class="order_article_marginTop10 border-bottom" cellspacing="0">
|
<table class="deliveryNote_table border-bottom" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="border-bottom order_article_PaddingBottom5 "><div class="vertical-a order_article_listing_fontSize deliverynote_width_amount">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_AMOUNT"}]</div></td>
|
<td class="dN_width20 order_article_PaddingBottom5 border-bottom">
|
||||||
<td class="border-bottom order_article_PaddingBottom5 paddingLeft"><div class="order_article_listing_fontSize deliverynote_width_artnum">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ARTNR"}]</div></td>
|
<div class="vertical-a dN_fontSize12">
|
||||||
<td class="border-bottom order_article_PaddingBottom5 "><div class="order_article_listing_fontSize deliverynote_width_desc">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_DESCRIPTION"}]</div></td>
|
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_AMOUNT"}]
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="dN_width80 order_article_PaddingBottom5 border-bottom">
|
||||||
|
<div class="dN_fontSize12">
|
||||||
|
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_DESCRIPTION"}]
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
||||||
[{*<tr>
|
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='fontSize12 aligning order_article_listing_width_amount order_article_listing_paddingRight52'>[{$oOrderArticle->oxorderarticles__oxamount->value }]</div></td>
|
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='fontSize12 order_article_listing_width_desc'>
|
|
||||||
[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
|
||||||
<br>
|
|
||||||
<span class="order_article_listing_fontSize9">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ARTNR"}] [{$oOrderArticle->oxorderarticles__oxartnum->value }]</span>
|
|
||||||
</div></td>
|
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='aligning fontSize12 order_article_listing_width_ust'>[{$oOrderArticle->oxorderarticles__oxvat->value }]</div></td>
|
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='aligning fontSize12 order_article_listing_width_unitPrice'>[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]</div></td>
|
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='aligning fontSize12 order_article_listing_width_total_Price'>[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]</div></td>
|
|
||||||
</tr>*}]
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='fontSize12 aligning deliverynote_width_amount order_article_listing_paddingRight52'>[{$oOrderArticle->oxorderarticles__oxamount->value }]</div></td>
|
<td class="dN_width20 dN_paddingTopBottom5 vertical-a">
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='fontSize12 textAlignLeft deliverynote_width_artnum order_article_listing_paddingRight52'>[{$oOrderArticle->oxorderarticles__oxartnum->value }]</div></td>
|
<div class="dN_width20 dN_paddingLeft12 dN_fontSize12">
|
||||||
<td class="order_article_PaddingTop5 vertical-a order_article_PaddingBottom5"><div class='fontSize12 deliverynote_width_desc'>[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{$oOrderArticle->oxorderarticles__oxselvariant->getRawValue()}]</div></td>
|
[{$oOrderArticle->getFieldData('oxamount')}]
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="dN_width80 dN_paddingTopBottom5 vertical-a">
|
||||||
|
<div class="dN_fontSize12">
|
||||||
|
[{$oOrderArticle->getFieldData('oxtitle')}] [{$oOrderArticle->getFieldData('oxselvariant')}]<br>
|
||||||
|
<span class="dN_fontSize8">
|
||||||
|
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ARTNR"}] [{$oOrderArticle->getFieldData('oxartnum')}]
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
</table>
|
</table>
|
||||||
[{/block}]
|
[{/block}]
|
||||||
<nobreak>
|
<nobreak>
|
||||||
[{block name="articleCosts"}]
|
[{block name="articleCosts"}][{/block}]
|
||||||
[{*<table class="article_costs_table border-bottom">
|
|
||||||
<tr>
|
|
||||||
[{ ++++++Artikelzusammenfassung++++++ }]
|
|
||||||
<td class="article_costs_table_paddingRight article_costs_table_td_width50 ">
|
|
||||||
<div class="order_sum fontSize12 border-bottom order_article_PaddingBottom5">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMBRUTTO"}]</div>
|
|
||||||
[{if $order->getFormattedDiscount() != 0}]
|
|
||||||
<div class="order_sum fontSize12 border-bottom paddingTopBottom5">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DISCOUNT"}]</div>
|
|
||||||
[{/if}]
|
|
||||||
<div class="order_sum fontSize12 order_article_PaddingTop5">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMNETTO"}]</div>
|
|
||||||
[{foreach from=$order->getVats() key=VatKey item=oVat}]
|
|
||||||
<div class="order_sum fontSize12 border-bottom paddingTopBottom5">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAX"}] [{$VatKey}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_PERCENTAGE"}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAXPERCVALUE"}]</div>
|
|
||||||
[{/foreach}]
|
|
||||||
<div class="order_sum fontSize12 order_article_PaddingTop5">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DELIVERY"}]</div>
|
|
||||||
<div class="fontSize12 border-bottom paddingTopBottom5 aligning order_article_costs_paddingRight66 order_article_costs_marginLeftSub3">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAX"}] [{$VatKey}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_PERCENTAGE"}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAXPERCVALUE"}]</div>
|
|
||||||
<div class="order_sum fontSize12 order_article_PaddingTop5 order_article_PaddingBottom5"><strong>[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TOTALSUMBRUT"}]</strong></div>
|
|
||||||
</td>
|
|
||||||
[{ ++++++Kosten der Bestellung++++++ }]
|
|
||||||
<td class="article_costs_table_td_width50">
|
|
||||||
<div class="order_sumNum aligning fontSize12 border-bottom order_article_PaddingBottom5">[{$order->getFormattedTotalBrutSum()}] [{$currency->name}]</div>
|
|
||||||
[{if $order->getFormattedDiscount() != 0}]
|
|
||||||
<div class="paddingTopBottom5 order_sumNum aligning fontSize12 border-bottom">-[{$order->getFormattedDiscount()}] [{$currency->name}]</div>
|
|
||||||
[{/if}]
|
|
||||||
<div class="order_article_PaddingTop5 order_sumNum aligning fontSize12">[{$order->getFormattedTotalNetSum()}] [{$currency->name}]</div>
|
|
||||||
<div class="paddingTopBottom5 order_sumNum aligning fontSize12 border-bottom">[{$lang->formatCurrency($oVat, $currency)}] [{$currency->name}]</div>
|
|
||||||
<div class="order_article_PaddingTop5 order_sumNum aligning fontSize12">[{$lang->formatCurrency($deliveryPrice->getNettoPrice(), $currency)}] [{$currency->name}]</div>
|
|
||||||
<div class="order_article_PaddingTop5 order_article_PaddingBottom5 order_sumNum aligning fontSize12 border-bottom">[{$lang->formatCurrency($deliveryPrice->getVATValue(), $currency)}] [{$currency->name}]</div>
|
|
||||||
<div class="order_article_PaddingTop5 order_article_PaddingBottom5 order_sumNum aligning fontSize12"><strong>[{$order->getFormattedTotalOrderSum()}] [{$currency->name}]</strong></div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>*}]
|
|
||||||
[{/block}]
|
|
||||||
[{block name="pdfPastThankFile"}]
|
[{block name="pdfPastThankFile"}]
|
||||||
[{include file="d3delnote_pdf_conclusion.tpl"}]
|
[{include file="d3delnote_pdf_conclusion.tpl"}]
|
||||||
[{/block}]
|
[{/block}]
|
||||||
|
@ -1,11 +1,33 @@
|
|||||||
.deliverynote_width_amount{
|
.deliveryNote_table{
|
||||||
width: 20px;
|
width: 678px;
|
||||||
|
}
|
||||||
|
.dN_width20{
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.dN_width80{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.dN_paddingTopBottom5{
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
.dN_fontSize12{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.dN_fontSize8{
|
||||||
|
font-size: 8px;
|
||||||
|
}
|
||||||
|
.dN_paddingRight52{
|
||||||
|
padding-right: 52.1px;
|
||||||
|
}
|
||||||
|
.dN_paddingLeft12{
|
||||||
|
padding-left: 12.5px
|
||||||
}
|
}
|
||||||
.deliverynote_width_artnum{
|
.deliverynote_width_artnum{
|
||||||
width: 80px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
.deliverynote_width_desc{
|
.dN_width_658{
|
||||||
width: 469.5px;
|
width: 658px;
|
||||||
}
|
}
|
||||||
.textAlignLeft{
|
.textAlignLeft{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
Loading…
Reference in New Issue
Block a user