summaryrefslogtreecommitdiff
path: root/UI/Customer
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-18 07:36:29 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-18 07:36:29 +0000
commitee03e8e74922d77cd6cd6114166f2a3a537f17c3 (patch)
tree1f0ae25740bbcdd094c155f7bc9b4afbb890572b /UI/Customer
parentfbd8836aae3eee520088f51b69ff8d76011c48f8 (diff)
elements.html and ui-header.html are moved to UI/lib and are accessible from all html templates called from anywhere.
Minor changes to new payment templates. Fixes to templates to add customers. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1877 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/Customer')
-rw-r--r--UI/Customer/customer.html110
1 files changed, 73 insertions, 37 deletions
diff --git a/UI/Customer/customer.html b/UI/Customer/customer.html
index fd0933ca..23bb064b 100644
--- a/UI/Customer/customer.html
+++ b/UI/Customer/customer.html
@@ -1,3 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title><?lsmb form.titlebar ?></title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
+
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <meta name="robots" content="noindex,nofollow" />
+
+</head>
<div class="customer">
<font size="17"><?lsmb customer.name?></font>
@@ -6,9 +20,9 @@
<table>
<tr>
- <td><b>Shipping Address</b></td>
+ <td><b><?lsmb text('Shipping Address') ?></b></td>
- <td><b>Billing Address (if different)</p></td>
+ <td><b><?lsmb text('Billing Address (if different)') ?></p></td>
</tr>
@@ -17,51 +31,64 @@
<?lsmb FOREACH entry = customer.ordered ?>
<tr>
<td>
- <label for="shipping_<?entry?>"><?entry?>:</label>
- <input id="shipping_<?entry?>" type="textarea" name="shipping_<?entry?>" value="<? customer.entry ?>">
+ <label for="shipping_<?lsmb entry ?>"><?lsmb text(entry) ?>:
+ </label>
+ <input id="shipping_<?lsmb entry ?>" type="textarea"
+ name="shipping_<?lsmb entry ?>"
+ value="<?lsmb customer.entry ?>">
</td>
<td>
- <input type="textarea" name="billing_<? entry ?>" value="<? customer.entry ?>">
+ <input type="textarea" name="billing_<?lsmb entry ?>"
+ value="<?lsmb customer.entry ?>">
</td>
</tr>
- <?lsmb end ?>
+ <?lsmb END ?>
<tr>
<td>
- <label for="startdate">Starting Date:</label>
- <input id="startdate" type="textarea" name="startdate" value="<? customer.startdate ?>">
+ <label for="startdate"><?lsmb text('Starting Date:') ?></label>
+ <input id="startdate" type="textarea" name="startdate"
+ value="<?lsmb customer.startdate ?>">
</td>
<td>
- <label for="enddate">End date:</label>
- <input id="enddate" type="textarea" name="startdate" value="<? customer.enddate ?>">
+ <label for="enddate"><?lsmb('End date:') ?></label>
+ <input id="enddate" type="textarea" name="startdate"
+ value="<?lsmb customer.enddate ?>">
</td>
</tr>
<tr>
<td>
- <label for"creditlimit">Credit Limit:</label>
- <input id="creditlimit" name="creditlimit" type="textarea" value="<?customer.creditlimit?>">
+ <label for"creditlimit"><?lsmb text('Credit Limit:') ?></label>
+ <input id="creditlimit" name="creditlimit" type="textarea"
+ value="<?lsmb customer.creditlimit ?>">
</td>
<td>
- <label for="terms">Terms:</label>
- <input id="terms" name="terms" type="textarea" value="<?customer.terms?>"> days
+ <label for="terms"><?lsmb text('Terms:') ?></label>
+ <input id="terms" name="terms" type="textarea"
+ value="<?lsmb customer.terms ?>"> days
</td>
<td>
- <label for="discount">Discount %:</label>
- <input id="discount" name="discount" type="textarea" value="<?customer.discount?>">
+ <label for="discount"><?lsmb text('Discount %:') ?></label>
+ <input id="discount" name="discount" type="textarea"
+ value="<?lsmb customer.discount ?>">
</td>
</tr>
<tr>
<td>
- <label for="taxnumber">Tax Number/SSN:</label>
- <input id="taxnumber" name="taxnumber" type="textarea" value="<?customer.taxnumber?>">
+ <label for="taxnumber"><?lsmb text('Tax Number/SSN:') ?></label>
+ <input id="taxnumber" name="taxnumber" type="textarea"
+ value="<?lsmb customer.taxnumber ?>">
</td>
<td>
- <label for"gifi_accno">Subcontract GFI:</label>
- <input id="gifi_accno" name="gifi_accno" type="textarea" value="<?customer.gifi_accno?>">
+ <label for"gifi_accno"><?lsmb text('Subcontract GIFI:') ?>
+ </label>
+ <input id="gifi_accno" name="gifi_accno" type="textarea"
+ value="<?lsmb customer.gifi_accno ?>">
</td>
<td>
- <label for"sic_code">SIC Code:</label>
- <input id="sic_code" name="sic_code" type="textarea" value="<?customer.sic_code?>">
+ <label for"sic_code"><?lsmb text('SIC Code:') ?></label>
+ <input id="sic_code" name="sic_code" type="textarea"
+ value="<?lsmb customer.sic_code ?>">
</td>
</tr>
@@ -69,21 +96,26 @@
<td></td>
<td>
- <label for"bic">BIC:</label>
- <input id="bic" name="bic" type="textarea" value="<?customer.bic?>">
+ <label for"bic"><?lsmb text('BIC:') ?></label>
+ <input id="bic" name="bic" type="textarea"
+ value="<?lsmb customer.bic ?>">
</td>
<td>
- <label for="iban">IBAN:</label>
- <input id="iban" name="iban" type="textarea" value="<?customer.iban?>">
+ <label for="iban"><?lsmb text('IBAN:') ?></label>
+ <input id="iban" name="iban" type="textarea"
+ value="<?lsmb customer.iban ?>">
</td>
</tr>
<tr>
<td>
- <label for="notes">Notes:</label><br/>
- <textarea name="notes" rows="3" cols="40" id="notes">
- <?customer.notes?>
- </textarea>
+ <label for="notes"><?lsmb text('Notes:') ?></label><br/>
+ <textarea name="notes" rows="3" cols="40" id="notes"><?lsmb
+ customer.notes
+ ?></textarea>
+ <!-- The prior funny whitespace may look funny but it prevents
+ additional whitespace from being added to the data every time
+ it is saved -->
</td>
</tr>
@@ -91,7 +123,7 @@
<hr/>
<br/>
<td>
- <button class="submit" type="submit" name="action" value="save" accesskey="S" title="Save [Alt-S]">Save</button>
+ <button class="submit" type="submit" name="action" value="save" accesskey="S" title="Save [Alt-S]"><?lsmb text('Save') ?></button>
</td>
<td>
<button class="submit"
@@ -99,7 +131,8 @@
name="action"
value="ap_transaction"
accesskey="A"
- title="AP Transaction [Alt-A]">AP Transaction</button>
+ title="AP Transaction [Alt-A]">
+ <?lsmb text('AP Transaction') ?></button>
</td>
<td>
<button class="submit"
@@ -107,7 +140,8 @@
name="action"
value="customer_invoice"
accesskey="I"
- title="customer Invoice [Alt-I]">customer Invoice</button>
+ title="customer Invoice [Alt-I]">
+ <?lsmb text('Customer Invoice') ?></button>
</td>
<td>
<button class="submit"
@@ -115,7 +149,8 @@
name="action"
value="purchase_order"
accesskey="O"
- title="Purchase Order [Alt-O]">Purchase Order</button>
+ title="Purchase Order [Alt-O]">
+ <?lsmb text('Purchase Order') ?></button>
</td>
<td>
<button class="submit"
@@ -123,7 +158,7 @@
name="action"
value="rfq"
accesskey="Q"
- title="RFQ [Alt-Q]">RFQ</button>
+ title="RFQ [Alt-Q]"><?lsmb text('RFQ') ?></button>
</td>
<td>
<button class="submit"
@@ -131,9 +166,10 @@
name="action"
value="pricelist"
accesskey="P"
- title="Pricelist [Alt-P]">Pricelist</button>
+ title="Pricelist [Alt-P]">
+ <?lsmb text('Pricelist') ?></button>
</td>
</tr>
</table>
</form>
-</div> \ No newline at end of file
+</div>