View | Details | Raw Unified | Return to bug 19036
Collapse All | Expand All

(-)a/Koha/Schema/Result/AccountCreditType.pm (-3 / +15 lines)
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 {
(-)a/Koha/Schema/Result/Accountline.pm (-3 / +12 lines)
Lines 77-82 __PACKAGE__->table("accountlines"); Link Here
77
  is_nullable: 1
77
  is_nullable: 1
78
  size: 80
78
  size: 80
79
79
80
=head2 credit_number
81
82
  data_type: 'varchar'
83
  is_nullable: 1
84
  size: 20
85
86
autogenerated number for credits
87
80
=head2 status
88
=head2 status
81
89
82
  data_type: 'varchar'
90
  data_type: 'varchar'
Lines 157-162 __PACKAGE__->add_columns( Link Here
157
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 },
165
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 },
158
  "debit_type_code",
166
  "debit_type_code",
159
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 },
167
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 },
168
  "credit_number",
169
  { data_type => "varchar", is_nullable => 1, size => 20 },
160
  "status",
170
  "status",
161
  { data_type => "varchar", is_nullable => 1, size => 16 },
171
  { data_type => "varchar", is_nullable => 1, size => 16 },
162
  "payment_type",
172
  "payment_type",
Lines 367-374 __PACKAGE__->belongs_to( Link Here
367
);
377
);
368
378
369
379
370
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-19 09:20:20
380
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-25 09:19:20
371
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BuE4CYsSH4BwXZoQKE2MWw
381
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I/S3NLbod+8BgBMcwYz+cA
372
382
373
=head2 library
383
=head2 library
374
384
375
- 

Return to bug 19036