{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'order'} {/block} {block name="page-title"}{intl l='Edit an order'}{/block} {block name="check-resource"}admin.order{/block} {block name="check-access"}update{/block} {block name="main-content"} {assign order_tab {$tab|default:$smarty.get.tab|default:"cart"}}
{intl l='Order placed on %order_date at %order_time' order_date={format_date date=$CREATE_DATE output='date'} order_time={format_date date=$CREATE_DATE output='time'}}
{intl l="Product"} | {hook name="order-edit.order-product-table-header" location="order_edit_table_header" }{intl l="Unit. price"} | {intl l="Tax"} | {intl l="Unit taxed price"} | {intl l="Quantity"} | {intl l="Untaxed total"} | {intl l="Tax total"} | {intl l="Taxed total"} |
---|---|---|---|---|---|---|---|
{ifloop rel="my_product_loop"}
{loop type="product" name="my_product_loop" visible="*" ref=$REF return_url=false}
{$REF} - {$TITLE}
{if $VIRTUAL}{/if}
{/loop}
|
{hook name="order-edit.order-product-table-row" location="order_edit_table_row" order_product_id={$ID} }
{format_money number=$REAL_PRICE currency_id=$CURRENCY} | {format_money number=$REAL_PRICE_TAX currency_id=$CURRENCY} | {format_money number=$REAL_TAXED_PRICE currency_id=$CURRENCY} | {$QUANTITY} | {format_money number=$REAL_TOTAL_PRICE currency_id=$CURRENCY} | {format_money number=$REAL_TOTAL_PRICE_TAX currency_id=$CURRENCY} | {format_money number=$REAL_TOTAL_TAXED_PRICE currency_id=$CURRENCY} |
{intl l="Total without tax"} | {format_money number=$TOTAL_ITEMS_AMOUNT currency_id=$CURRENCY} |
---|---|
{intl l="Total with taxes before discount"} | {format_money number=$TOTAL_TAXED_AMOUNT-$POSTAGE+$DISCOUNT currency_id=$CURRENCY} |
{intl l="Discount with taxes"} | {if $DISCOUNT > 0}-{/if}{format_money number=$DISCOUNT currency_id=$CURRENCY} |
{intl l="Total with taxes after discount"} | {format_money number=$TOTAL_TAXED_AMOUNT-$POSTAGE currency_id=$CURRENCY} |
{intl l="Shipping with taxes"} | {format_money number=$POSTAGE currency_id=$CURRENCY} |
{intl l="ORDER TOTAL WITH TAXES"} | {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY} |
{intl l='Items taxes'} | ||
---|---|---|
{$name} | {format_money number=$amount currency_id=$CURRENCY} | |
{intl l="None"} | ||
{intl l='Shipping taxes'} | ||
{$POSTAGE_TAX_RULE_TITLE} | {format_money number=$POSTAGE_TAX currency_id=$CURRENCY} | {else}{intl l="None"} | {/if}
{intl l='Discount tax'} | ||
{intl l='Average rate'} | -{format_money number=$DISCOUNT_TAX currency_id=$CURRENCY} | {else}{intl l="None"} | {/if}
{intl l="Taxes total"} | {format_money number=$TOTAL_TAX currency_id=$CURRENCY} |
{intl l="Coupon code"} | {loop type="order_coupon" name="couponcode" order=$ID} {$CODE}{if $LOOP_COUNT != $LOOP_TOTAL}, {/if} {/loop} {elseloop rel="couponcode"} {intl l='No coupon for this order'} {/elseloop} |
---|---|
{intl l="Weight"} | {format_number number=$WEIGHT} {intl l="Kg"} |
{intl l="Customer"} | {$orderInvoiceFirstName|ucwords} {$orderInvoiceLastName|upper} |
---|---|
{intl l="Email"} | {loop type="customer" name="customer" id=$CUSTOMER backend_context="on" current="false"}{$EMAIL}{/loop} |
{intl l="Company"} | {$orderInvoiceCompany} |
{intl l="Payment module"} | {loop name="payment-module" type="module" id=$PAYMENT_MODULE order="code"}{$CODE} - {$TITLE}{/loop} |
---|---|
{intl l="Transaction reference"} | {if $TRANSACTION_REF} {$TRANSACTION_REF} {else} {intl l='No transaction for this order'} {/if} |
{$CODE} - {$TITLE}
{if $DESCRIPTION}{intl l="Invoice reference"} | {if $INVOICE_REF} {$INVOICE_REF} {else} {intl l="None"} {/if} |
---|---|
{intl l="Invoice date"} | {format_date date=$INVOICE_DATE output="date"} |
{intl l="Company"} | {$COMPANY} |
{intl l="Title"} | {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop} |
{intl l="Firstname"} | {$FIRSTNAME} |
{intl l="Lastname"} | {$LASTNAME} |
{intl l="Street address"} | {$ADDRESS1} |
{intl l="Additional address"} | {$ADDRESS2} |
{intl l="Additional address"} | {$ADDRESS3} |
{intl l="Zip code"} | {$ZIPCODE} |
{intl l="City"} | {$CITY} |
{intl l="Country"} | {loop type="country" name="order-invoice-address-country" id=$COUNTRY visible="*"}{$TITLE}{/loop} |
{intl l="State"} | {if $STATE} {loop type="state" name="order-invoice-address-state" id=$STATE visible="*"}{$TITLE}{/loop} {else} - {/if} |
{intl l="Phone"} | {$PHONE} |
{intl l="Cellphone"} | {$CELLPHONE} |
{intl l="Email"} | {loop type="customer" name="customer" id=$CUSTOMER backend_context="on" current="false"}{$EMAIL}{/loop} |
{intl l="Company"} | {$COMPANY} |
---|---|
{intl l="Title"} | {loop type="title" name="order-delivery-address-title" id=$TITLE}{$LONG}{/loop} |
{intl l="Firstname"} | {$FIRSTNAME} |
{intl l="Lastname"} | {$LASTNAME} |
{intl l="Street address"} | {$ADDRESS1} |
{intl l="Additional address"} | {$ADDRESS2} |
{intl l="Additional address"} | {$ADDRESS3} |
{intl l="Zip code"} | {$ZIPCODE} |
{intl l="City"} | {$CITY} |
{intl l="Country"} | {loop type="country" name="order-delivery-address-country" id=$COUNTRY visible="*"}{$TITLE}{/loop} |
{intl l="State"} | {if $STATE} {loop type="state" name="order-delivery-address-state" id=$STATE visible="*"}{$TITLE}{/loop} {else} - {/if} |
{intl l="Phone"} | {$PHONE} |
{intl l="Cellphone"} | {$CELLPHONE} |