<%include letterhead.html%>
  
  
    |  | F A K T Ú R A | 
  
    |  | 
        
          | Odberaťeľ | Dodať |  
          | <%name%> <%address1%>
	  <%if address2%>
 <%address2%>
	  <%end address2%>
 <%city%>
	  <%if state%>
	  , <%state%>
	  <%end state%>
	  <%zipcode%>
	  <%if country%>
 <%country%>
	  <%end country%>
 <%if contact%>
 <%contact%>
 <%end contact%>
          <%if customerphone%>
 Tel: <%customerphone%>
          <%end customerphone%>
          <%if customerfax%>
 Fax: <%customerfax%>
          <%end customerfax%>
          <%if email%>
 <%email%>
          <%end email%>
 | <%shiptoname%> <%shiptoaddress1%>
	  <%if shiptoaddress2%>
 <%shiptoaddress2%>
	  <%end shiptoaddress2%>
 <%shiptocity%>
	  <%if shiptostate%>
	  , <%shiptostate%>
	  <%end shiptostate%>
	  <%shiptozipcode%>
	  <%if shiptocountry%>
 <%shiptocountry%>
	  <%end shiptocountry%>
 <%if shiptocontact%>
 <%shiptocontact%>
 <%end shiptocontact%>
          <%if shiptophone%>
 Tel: <%shiptophone%>
          <%end shiptophone%>
          <%if shiptofax%>
 Fax: <%shiptofax%>
          <%end shiptofax%>
          <%if shiptoemail%>
 <%shiptoemail%>
          <%end shiptoemail%>
 |  | 
  |
  
  
    |  | 
        
	  | Faktúra # | Dátum | Splatné do | Objednávka # | Predávajúca osoba | Miesto dodania | Spôsob dodania |  
	  | <%invnumber%> | <%invdate%> | <%duedate%> | <%ordnumber%> | <%employee%> | <%shippingpoint%> | <%shipvia%> |  | 
  
    |  | 
        
          <%foreach number%>| Položka | Číslo | Popis |  | Množ |  | Jedn.cena | Zľava % | Hodnota |  
          <%end number%>| <%runningnumber%>. | <%number%> | <%description%> | <%deliverydate%> | <%qty%> | <%unit%> | <%sellprice%> | <%discountrate%> | <%linetotal%> |  
          | 
 |  
          <%if taxincluded%>
          <%foreach tax%>| Celkom | <%invtotal%><%end taxincluded%>
          <%if not taxincluded%> | Medzisúčet | <%subtotal%><%end taxincluded%> |  
          <%end tax%>
        <%if paid%>| <%taxdescription%> z <%taxbase%> @ <%taxrate%> % | <%tax%> |  
          <%end paid%>| Platené | - <%paid%> |  
          <%if total%>|  | 
 |  
          <%end total%>|  | K úhrade | <%total%> |  
       | 
  
    |  | 
        
          <%if notes%>
          | <%notes%><%end notes%> | <%text_amount%> ***** <%decimal%>/100 | Všetky ceny sú v <%currency%> |  | 
  <%if paid_1%>
  
    |  | 
        
          | Platby |  
          | 
 |  
          <%end paid_1%>
        <%foreach payment%>| Dátum | Účet | Zdroj | Hodnota |  
          <%end payment%>
  <%if paid_1%>| <%paymentdate%> | <%paymentaccount%> | <%paymentsource%> | <%payment%> |  | 
  <%end paid_1%>
  |
  
    |  | Ďakujeme za Váš nákup ! | 
  
    |  | 
        
          | Dátum splatnosti <%duedate%>.
          Firma <%company%> je platitelom DPH. | X 
 |  | 
  <%foreach tax%>
  
    |  | <%taxdescription%> - registračné číslo <%taxnumber%> | 
  <%end tax%>
  <%if taxincluded%>
  
    |  | 
  
    | Ceny sú s DPH. | 
  <%end taxincluded%>