Commit 1f46c903 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Must be a mistake.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1398 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0361d215
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<title tal:content="here/getTitle">Nexedi</title>
</head>
<body bgcolor="#ffffff"
tal:define="packing_list python:here.getDefaultValue('causality',spec=['Sale Packing List']);
from_organisation python:here.restrictedTraverse('/nexedi/organisation/nexedi');
client_invoice python:here.getDefaultValue('destination_section',spec=['Organisation', 'Person']);
client_delivery python:here.getDefaultValue('destination_section',spec=['Organisation', 'Person']);
total_price python:here.getDefaultTotalPrice()">
<table width=100%>
<tr>
<td colspan=3><img src="logo.png"></td>
</tr>
<tr>
<td align=left tal:content="python: from_organisation.getCorporateName()" colspan="2" />
<td align=right tal:content="python: 'Invoice Date: %s' % here.getStartDate()"/>
</tr>
<tr>
<td align=left tal:content="python: 'Tel : %s' % from_organisation.getDefaultTelephone().asText()" colspan="2"/>
<td align=right tal:content="python: 'Pay Before: %s' % here.getStopDate()"/>
</tr>
<tr>
<td tal:content="python: from_organisation.getDefaultAddress().getStreetAddress()" colspan="2"/>
<td align=right tal:content="python: 'Invoice N: ERP5/%s' % here.getId()"/>
</tr>
<tr>
<td tal:content="python: '%s %s' %
(from_organisation.getDefaultAddress().getZipCode(),
from_organisation.getDefaultAddress().getCity())" colspan="3"/>
</tr>
<tr>
<th colspan=3>
<h2>INVOICE</h2>
</th>
</tr>
</table>
<br/>
<table width=100%>
<tr bgcolor=000000>
<th align=left><font color=ffffff>INVOICE ADDRESS</th>
<th align=left><font color=ffffff>DELIVERY ADDRESS</th>
</tr>
<tr>
<td align=left tal:content="client_invoice/getCorporateName | client_invoice/getTitle"/>
<td align=left tal:content="client_delivery/getCorporateName | client_delivery/getTitle"/>
</tr>
<tr>
<td align=left tal:content="python: client_invoice.getDefaultAddress().getStreetAddress()"/>
<td align=left tal:content="python: client_delivery.getDefaultAddress().getStreetAddress()"/>
</tr>
<tr>
<td align=left tal:content="python: '%s %s' %
(client_invoice.getDefaultAddress().getZipCode(),
client_invoice.getDefaultAddress().getCity())"/>
<td align=left tal:content="python: '%s %s' %
(client_delivery.getDefaultAddress().getZipCode(),
client_delivery.getDefaultAddress().getCity())"/>
</tr>
</table>
<br/>
<table width=100%>
<tr bgcolor=000000>
<th align=left nowrap><font color=ffffff>N</font></th>
<th align=left nowrap><font color=ffffff>Description</font></th>
<th nowrap><font color=ffffff>Quantity</th>
<th nowrap><font color=ffffff>Unit</font></th>
<th nowrap><font color=ffffff>Unit Price</font></th>
<th nowrap><font color=ffffff>Total Price</font></th>
</tr>
<span tal:define="ordered_lines python:packing_list.contentValues(filter={'meta_type':'ERP5 Delivery Line'})"
tal:repeat="ligne ordered_lines">
<tr valign=top tal:condition="python:ligne.getQuantity()>0">
<td align=left tal:content="python:ligne.getId()"></td>
<!-- <td> </td> -->
<td tal:content="python: ligne.getResourceTitle()"></td>
<td align=right tal:content="python: '%.0f' % ligne.getQuantity()"></td>
<td>n/a</td>
<td align=right tal:content="python: '%.0f' % ligne.getPrice()"></td>
<td align=right tal:content="python: '%.0f' % ligne.getTotalPrice()"></td>
</tr>
</span>
<tr>
<td colspan=6><hr noshade></td>
</tr>
<tr>
<th colspan=4 align=right>Total (<span tal:replace="here/l0/getResourceId"/>)</th>
<td colspan=2 align=right tal:content="here/l1/getSourceCredit"></td>
</tr>
<tr>
<th colspan=4 align=right>TVA 19.6 % (<span tal:replace="here/l0/getResourceId"/>)</th>
<td colspan=2 align=right tal:content="here/l2/getSourceCredit"></td>
</tr>
<tr>
<td colspan=3>&nbsp;</td>
<td colspan=3><hr noshade></td>
</tr>
<tr>
<td colspan=3>A rgler dans <b>0</b> jours au plus tard.
<br><font size="-3">Conditions de rglement: par chque, 0 jours date de la facture. Paiement accept en euros.
Tout retard de rglement donnera lieu une pnalit de 1,5% du montant d par mois.
Rserve de proprit: nous conservons la pleine proprit des marchandises jusqu'au paiement intgral du prix, des taxes et accessoires.</font></td>
<th colspan=1 align=right nowrap>Somme rgler (<span tal:replace="here/l0/getResourceId"/>)</th>
<th colspan=2 align=right tal:content="here/l0/getSourceDebit"></th>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
<table width="100%">
<tr>
<td><center><h6>RCS Roubaix Tourcoing 440 047 504<br>
Banque:&nbsp;30027&nbsp;Guichet:&nbsp;00039&nbsp;Compte:&nbsp;00000013323&nbsp;RIB:&nbsp;36<br>IBAN: FR76 3002 7175 3900 0410 2760 135<br>
VAT FR72440047504</h6></center></td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="erp5-26_11_01.css" rel="stylesheet" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xml:lang="en"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="here/list_master/macros/master">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title tal:content="template/title_or_id">The title</title>
<link href="erp5.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div metal:fill-slot="main">
<div tal:define="allowed_meta_types python:['ERP5 Organisation'];
list_box_attributes python:['id','Title','Telephone'];
list_box_url_attributes python:['id'];
list_box_function_attributes python:['Title','Telephone'];
list_box_size python:10">
<div tal:define="list_size python:5" metal:use-macro="here/list_box/macros/list_box">List goes here</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="erp5.css" rel="stylesheet" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xml:lang="en"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="here/view_master/macros/master">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title tal:content="template/title_or_id">The title</title>
<link href="erp5.css" rel="stylesheet" type="text/css"/>
</head>
<body><div metal:fill-slot="main">
<form action="organisation_edit" method="POST" >
<div class="Main">
<table class="Border" width="100%">
<tr>
<td>Nom </td>
<td><input type="text" tal:attributes="value here/title"
name="title" value="title of organisation goes here"> </td>
<td>Addresse </td>
<td rowspan="3"><textarea
tal:content="here/default_address/address" wrap="physical" >Address Goes
here</textarea> </td>
</tr>
<tr>
<td>Telephone </td>
<td><input type="text" tal:attributes="value
here/default_telephone/number" name="default_telephone" value="Default Phone
Goes Here"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td>Code Postal </td>
<td><input type="text" name="zip" value="ZIP goes here">
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td>Ville </td>
<td><input type="text" tal:attributes="value
here/default_address/city" name="city" value="City goes here"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td>Pays </td>
<td><select name="country" >
<option value="fr" >Allemagne</option>
<option value="fr" selected>France</option>
<option value="es">Espagne</option>
</select> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table class="Border">
<tr>
<td>Description</td>
<td><textarea tal:content="here/description"
name="description" width="100%">Description goeshere</textarea></td>
</tr>
</table>
<div tal:define="allowed_meta_types python:['ERP5 Organisation'];
list_box_attributes python:['id','Title','Telephone'];
list_box_url_attributes python:['id'];
list_box_function_attributes python:['Title','Telephone'];
list_box_size python:10">
<div tal:define="list_size python:5"
metal:use-macro="here/list_box/macros/list_box">List goes here</div>
</div> </div>
</form></div>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment