Lines 41-46
__PACKAGE__->table("account_credit_types");
Link Here
|
41 |
default_value: 1 |
41 |
default_value: 1 |
42 |
is_nullable: 0 |
42 |
is_nullable: 0 |
43 |
|
43 |
|
|
|
44 |
=head2 credit_number_enabled |
45 |
|
46 |
data_type: 'tinyint' |
47 |
default_value: 0 |
48 |
is_nullable: 0 |
49 |
|
50 |
Is autogeneration of credit number enabled for this credit type |
51 |
|
44 |
=head2 is_system |
52 |
=head2 is_system |
45 |
|
53 |
|
46 |
data_type: 'tinyint' |
54 |
data_type: 'tinyint' |
Lines 62-67
__PACKAGE__->add_columns(
Link Here
|
62 |
{ data_type => "varchar", is_nullable => 1, size => 200 }, |
70 |
{ data_type => "varchar", is_nullable => 1, size => 200 }, |
63 |
"can_be_added_manually", |
71 |
"can_be_added_manually", |
64 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
72 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
|
|
73 |
"credit_number_enabled", |
74 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
65 |
"is_system", |
75 |
"is_system", |
66 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
76 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
67 |
"archived", |
77 |
"archived", |
Lines 113-123
__PACKAGE__->has_many(
Link Here
|
113 |
); |
123 |
); |
114 |
|
124 |
|
115 |
|
125 |
|
116 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-20 14:48:55 |
126 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-25 09:19:20 |
117 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hdxcXxCqIDxwfSHjSr0VUg |
127 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GESL9hjEPlrQBiuHO4haAw |
118 |
|
128 |
|
119 |
__PACKAGE__->add_columns( |
129 |
__PACKAGE__->add_columns( |
120 |
'+is_system' => { is_boolean => 1 } |
130 |
'+is_system' => { is_boolean => 1 }, |
|
|
131 |
'+credit_number_enabled' => { is_boolean => 1 }, |
132 |
'+archived' => { is_boolean => 1 } |
121 |
); |
133 |
); |
122 |
|
134 |
|
123 |
sub koha_objects_class { |
135 |
sub koha_objects_class { |