my $credit_1 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_2 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_3 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -100,
amountoutstanding => -100,
interface => 'commandline',
my $credit_1 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_2 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_3 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -100,
amountoutstanding => -100,
interface => 'commandline',
my $credit_1 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_2 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => -10,
interface => 'commandline',
my $credit_3 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -100,
amountoutstanding => -100,
interface => 'commandline',
my $credit_1 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => 0,
interface => 'commandline',
my $credit_2 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -10,
amountoutstanding => 0,
interface => 'commandline',
my $credit_3 = Koha::Account::Line->new(
{ borrowernumber => $patron->id,
- debit_type_code => "OVERDUE",
- status => "RETURNED",
+ credit_type_code => "PAYMENT",
amount => -100,
amountoutstanding => 0,
interface => 'commandline',