NAME

GnuCash::Schema::ResultSet::Customer - Contains helper methods.

DESCRIPTION

GnuCash::Schema::ResultSet::Customer is based on DBIx::Class::ResultSet and contains helper methods for accessing GnuCash customer rows.

SYNOPSIS

use GnuCash::Schema::ResultSet::Customer;

METHODS

active_customers($attrs)

my $rs = $schema->resultset('Customer')->active_customers($attrs);

Returns a DBIx::Class::ResultSet for selecting only the customer accounts whose active column is 1.

all_customers($attrs)

my $rs = $schema->resultset('Customer')->all_customers($attrs);

Returns a DBIx::Class::ResultSet for selecting all customer accounts.

COPYRIGHT AND LICENSE

Copyright 2024, Paul Durden.