MT#5879 Forgot to save proper changes in controller.

ipeshinskaya/InvoiceTemplate5
Irina Peshinskaya 12 years ago committed by Victor Seva
parent 83db5c1b93
commit c1d5983c71

@ -266,7 +266,7 @@ sub invoice_generate :Chained('base') :PathPart('generate') :Args(0) {
if($validator->validated) {
#copy/pasted from NGCP\Panel\Role\API\Customers.pm
my $client_contract = $backend->getInvoiceClientContractInfo($in);
my $client_contact = $backend->getInvoiceClientContactInfo($in);
my $client_contact = $client_contract->contact;
my $contract_balance = $backend->getContractBalance($in);
#$c->log->debug("customer->id="..";");
if(!$contract_balance){

Loading…
Cancel
Save