{include file="header.html"}

{$layout.pagetitle}

{include file="calendar_js.html"} {literal} {/literal}
{t}Main Informations:{/t}
{t}Cash Registry:{/t}
{t}Receipt number:{/t} {if $receipt.extnumber || $receipt.extended} {t}Additional number:{/t} {/if}
{t}Settlement date:{/t} {if $receipt.cdatewarning} {/if}
{t}Target:{/t}
{t}customer{/t}: {if $customerlist} {t}or Customer ID:{/t} {/if} {t}Search{/t} »»»
{t}advance{/t}:
{t}other{/t}:
{t}Submit{/t}
{if $error.nocash}

{$error.nocash}

{/if} {if $receipt.selected && $customer}

{t}Customer:{/t} {$customer.customername}  »  {$customer.address}   {$customer.zip} {$customer.city}  »  {if $customer.balance < 0}{/if}{$customer.balance|money_format}{if $customer.balance < 0}{/if} {if $customer.groups} ({foreach from=$customer.groups item=item name=groups}{$item.name}{if $smarty.foreach.groups.iteration < sizeof($customer.groups)}, {/if}{/foreach}) {/if}
{if $customer.notes}
{t}Notes:{/t} {$customer.notes|replace:"\n":"
"}
{/if} {if $customer.docwarning}
{t}Documents:{/t} {$customer.docwarning}
{/if}

{/if}

{cycle values="light,lucid" print=false name="items"} {foreach from=$contents item=item} {foreachelse} {/foreach} {if $contents} {/if}
{t}No.{/t} {t}Name of product, commodity or service:{/t} {t}Value:{/t}
{counter}. {$item.description} {$item.value|money_format}

 

{t}Receipt have no items. Use form below for items addition.{/t}

 

{t}Total:{/t} {sum array=$contents column=value string_format=$LANGDEFS.$_language.money_format}
{counter}.
{t}original{/t}  {t}copy{/t}  {t}Cancel{/t}   {if !$customer && $receipt.o_type != "other" && $receipt.o_type != "advance"} {elseif !$contents} {else} {/if} {t}Save{/t}   {if !$customer && $receipt.o_type != "other" && $receipt.o_type != "advance"} {elseif !$contents} {else} {/if} {t}Save & Print{/t}

{include file="footer.html"}