diff options
author | ivan <ivan> | 2009-05-05 17:58:50 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-05-05 17:58:50 +0000 |
commit | 638bbb4726bfa9bc26280b6addbf6077d2005745 (patch) | |
tree | c7301ea3119c5bee60ec8e0063c9932976b57caf /FS | |
parent | 791b34f7cb476e7c645d8eb7019dde9fdf5cf663 (diff) |
add company_name to payment receipt
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pay.pm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 583a72410..0caba7574 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -225,13 +225,14 @@ sub insert { 'to' => \@invoicing_list, 'subject' => 'Payment receipt', 'body' => [ $receipt_template->fill_in( HASH => { - 'date' => time2str("%a %B %o, %Y", $self->_date), - 'name' => $cust_main->name, - 'paynum' => $self->paynum, - 'paid' => sprintf("%.2f", $self->paid), - 'payby' => ucfirst(lc($payby)), - 'payinfo' => $payinfo, - 'balance' => $cust_main->balance, + 'date' => time2str("%a %B %o, %Y", $self->_date), + 'name' => $cust_main->name, + 'paynum' => $self->paynum, + 'paid' => sprintf("%.2f", $self->paid), + 'payby' => ucfirst(lc($payby)), + 'payinfo' => $payinfo, + 'balance' => $cust_main->balance, + 'company_name' => $conf->config('company_name'), } ) ], ); |