projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix my mistake
[freeside.git]
/
httemplate
/
edit
/
msg_template.html
diff --git
a/httemplate/edit/msg_template.html
b/httemplate/edit/msg_template.html
index
01d866d
..
a60f2d0
100644
(file)
--- a/
httemplate/edit/msg_template.html
+++ b/
httemplate/edit/msg_template.html
@@
-5,17
+5,19
@@
'viewall_dir' => 'browse',
'agent_virt' => 1,
'agent_null' => 1,
'viewall_dir' => 'browse',
'agent_virt' => 1,
'agent_null' => 1,
- 'agent_null_right' =>
'Edit global templates'
,
+ 'agent_null_right' =>
['Edit global templates', 'Configuration']
,
'fields' => [ 'msgname',
'fields' => [ 'msgname',
- 'subject',
- 'from_addr',
+ { field=>'from_addr', size=>60, },
+ { field=>'bcc_addr', size=>60, },
+ { field=>'subject', size=>80, },
{ field=>'body', type=>'htmlarea', width=>763 },
],
'labels' => { 'msgnum' => 'Template',
'msgname' => 'Template name',
{ field=>'body', type=>'htmlarea', width=>763 },
],
'labels' => { 'msgnum' => 'Template',
'msgname' => 'Template name',
- 'from_addr' => 'Return address',
- 'subject' => 'Message subject',
+ 'from_addr' => 'From: ',
+ 'bcc_addr' => 'Bcc: ',
+ 'subject' => 'Subject: ',
'body' => 'Message template',
},
'html_foot' => "</TD>$sidebar</TR></TABLE>",
'body' => 'Message template',
},
'html_foot' => "</TD>$sidebar</TR></TABLE>",
@@
-50,6
+52,8
@@
my %substitutions = (
'$cust_status' => 'Status',
'$ucfirst_cust_status' => 'Status, capitalized',
'$cust_statuscolor' => 'Status color code',
'$cust_status' => 'Status',
'$ucfirst_cust_status' => 'Status, capitalized',
'$cust_statuscolor' => 'Status color code',
+ '$company_name' => 'Our company name',
+ '$company_address'=> 'Our company address',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',
@@
-92,7
+96,15
@@
my %substitutions = (
],
'svc_acct' => [
'$username' => 'Login name',
],
'svc_acct' => [
'$username' => 'Login name',
- '$password' => 'Password',
+ '$password' => 'Password',
+ ],
+ 'cust_pay' => [
+ '$paynum' => 'Payment#',
+ '$paid' => 'Amount',
+ '$payby' => 'Payment method',
+ '$date' => 'Payment date',
+ '$payinfo' => 'Card/account# (masked)',
+ '$error' => 'Decline reason',
],
);
my @c = @{ $substitutions{'contact'} };
],
);
my @c = @{ $substitutions{'contact'} };
@@
-107,6
+119,7
@@
tie my %sections, 'Tie::IxHash', (
'cust_main' => 'Customer status and payment info',
'cust_pkg' => 'Package fields',
'cust_bill' => 'Invoice fields',
'cust_main' => 'Customer status and payment info',
'cust_pkg' => 'Package fields',
'cust_bill' => 'Invoice fields',
+'cust_pay' => 'Payment fields',
'svc_acct' => 'Login service fields',
);
'svc_acct' => 'Login service fields',
);