-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW: Tidy up of admin interface. Used customer name, instead of first…
… and last name. Removed TotalOutstanding. Removed printed. Removed has payment search check. Added docs. Moved print action down next to save action. Removed customer tab. Moved print code to OrdersAdmin
- Loading branch information
Showing
5 changed files
with
58 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,14 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > | ||
<head> | ||
<% base_tag %> | ||
<title><% _t("PAGETITLE","Print Orders") %></title> | ||
<% include OrderReceiptStyle %> | ||
</head> | ||
<body> | ||
|
||
<%-- todo: allow printing multiple invoices at once --%> | ||
<div style="page-break-after: always;"> | ||
<h1 class="title">$Top.SiteConfig.Title Invoice</h1> | ||
|
||
<table id="SenderTable"> | ||
<tbody> | ||
<tr> | ||
<td class="sender"> | ||
$Top.SiteConfig.SenderAddress | ||
</td> | ||
<td class="meta"> | ||
<table id="MetaTable"> | ||
<tbody> | ||
<tr><td class="label">Invoice Date:</td><td class="date">$Now.Nice</td></tr> | ||
<tr><td class="label">Order ID:</td><td class="id">$DisplayFinalisedOrder.ID</td></tr> | ||
</tbody> | ||
</table> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
$Content | ||
<% control DisplayFinalisedOrder %> | ||
<html> | ||
<head> | ||
<% base_tag %> | ||
$MetaTags | ||
<% include OrderReceiptStyle %> | ||
</head> | ||
<body> | ||
<div style="page-break-after: always;"> | ||
<h1 class="title">$SiteConfig.Title <% _t("ORDER","Order") %> $Reference</h1> | ||
<% include Order %> | ||
<% end_control %> | ||
</div> | ||
|
||
</body> | ||
</div> | ||
</body> | ||
</html> | ||
|