|
Lines 69-75
my $total_due = $account->outstanding_debits->total_outstanding;
Link Here
|
| 69 |
|
69 |
|
| 70 |
my $total_paid = $input->param('paid'); |
70 |
my $total_paid = $input->param('paid'); |
| 71 |
|
71 |
|
| 72 |
my $select_lines = $input->param('selected'); |
72 |
my $selected_lines = $input->param('selected'); |
| 73 |
my $pay_individual = $input->param('pay_individual'); |
73 |
my $pay_individual = $input->param('pay_individual'); |
| 74 |
my $selected_accts = $input->param('selected_accts'); |
74 |
my $selected_accts = $input->param('selected_accts'); |
| 75 |
my $payment_note = uri_unescape scalar $input->param('payment_note'); |
75 |
my $payment_note = uri_unescape scalar $input->param('payment_note'); |
|
Lines 127-136
if ( $pay_individual || $writeoff_individual ) {
Link Here
|
| 127 |
individual_description => $description, |
127 |
individual_description => $description, |
| 128 |
payment_note => $payment_note, |
128 |
payment_note => $payment_note, |
| 129 |
); |
129 |
); |
| 130 |
} elsif ($select_lines) { |
130 |
} elsif ($selected_lines) { |
| 131 |
$total_due = $input->param('amt'); |
131 |
$total_due = $input->param('amt'); |
| 132 |
$template->param( |
132 |
$template->param( |
| 133 |
selected_accts => $select_lines, |
133 |
selected_accts => $selected_lines, |
| 134 |
amt => $total_due, |
134 |
amt => $total_due, |
| 135 |
selected_accts_notes => scalar $input->param('notes'), |
135 |
selected_accts_notes => scalar $input->param('notes'), |
| 136 |
); |
136 |
); |
| 137 |
- |
|
|