is($bt->invoice_amount , '299.29000' , "$testname: bt invoice amount was assigned partially paid amount");
is($bt->amount , '299.29000' , "$testname: bt amount is stil there");
is(scalar @{ SL::DB::Manager::BankTransactionAccTrans->get_all(where => [bank_transaction_id => $bt->id ] )},
is($bt->invoice_amount , '299.29000' , "$testname: bt invoice amount was assigned partially paid amount");
is($bt->amount , '299.29000' , "$testname: bt amount is stil there");
is(scalar @{ SL::DB::Manager::BankTransactionAccTrans->get_all(where => [bank_transaction_id => $bt->id ] )},