Lines 82-87
sub checkout {
Link Here
|
82 |
return $self->{_checkout}; |
82 |
return $self->{_checkout}; |
83 |
} |
83 |
} |
84 |
|
84 |
|
|
|
85 |
=head3 credit_offsets |
86 |
|
87 |
Return the credit_offsets linked to this account line if some exist |
88 |
|
89 |
=cut |
90 |
|
91 |
sub credit_offsets { |
92 |
my ( $self ) = @_; |
93 |
my $rs = $self->_result->account_offsets_credits; |
94 |
return unless $rs; |
95 |
return Koha::Account::Offsets->_new_from_dbic( $rs ); |
96 |
} |
97 |
|
98 |
=head3 debit_offsets |
99 |
|
100 |
Return the debit_offsets linked to this account line if some exist |
101 |
|
102 |
=cut |
103 |
|
104 |
sub debit_offsets { |
105 |
my ( $self ) = @_; |
106 |
my $rs = $self->_result->account_offsets_debits; |
107 |
return unless $rs; |
108 |
return Koha::Account::Offsets->_new_from_dbic( $rs ); |
109 |
} |
110 |
|
85 |
=head3 void |
111 |
=head3 void |
86 |
|
112 |
|
87 |
$payment_accountline->void(); |
113 |
$payment_accountline->void(); |
88 |
- |
|
|