'fields' => [ 'msgname',
'subject',
'from_addr',
+ 'bcc_addr',
{ field=>'body', type=>'htmlarea', width=>763 },
],
'labels' => { 'msgnum' => 'Template',
'msgname' => 'Template name',
'from_addr' => 'Return address',
+ 'bcc_addr' => 'Bcc address (optional)',
'subject' => 'Message subject',
'body' => 'Message template',
},
'$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',
],
'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'} };
'cust_main' => 'Customer status and payment info',
'cust_pkg' => 'Package fields',
'cust_bill' => 'Invoice fields',
+'cust_pay' => 'Payment fields',
'svc_acct' => 'Login service fields',
);