Closed (fixed)
Project:
e-Commerce
Version:
4.7.x-1.x-dev
Component:
store
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2007 at 17:03 UTC
Updated:
28 Jan 2007 at 12:45 UTC
I have modified the theme_store_invoice function to fit rules of accounting and fit danish standard.
It might also fit the rest of the world, but, would like some feedback on the design and the functionality.
The design is made to fit a A4 page for direct PDF creation and printing.
// We set the terms of payment according to the selected payment method
$payment_method = $txn->payment_method;
if ($payment_method == 'paypal') {
$payment_terms = t('Credit card');
$delivery_terms = t('Del. Duty paid');
} else {
$payment_terms = t('Bank transfer');
$delivery_terms = t('Del. Duty Unpaid');
}
Should be set through the payment modules and through the shipping modules provided.
| Comment | File | Size | Author |
|---|---|---|---|
| newinvoice.patch.txt | 12.96 KB | schultzconsult |
Comments
Comment #1
simeYou should keep your patch applied for 4.7, but EC5 will see gordon's invoice code come in which will allow you to theme your invoice (and PDF if too)
Comment #2
(not verified) commented