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

(-)a/Koha/Schema/Result/Letter.pm (-3 / +64 lines)
Lines 119-124 lang of the notice Link Here
119
119
120
last modification
120
last modification
121
121
122
=head2 font_size
123
124
  data_type: 'integer'
125
  default_value: 10
126
  is_nullable: 0
127
128
font size used when notice is printed
129
130
=head2 text_justify
131
132
  data_type: 'char'
133
  default_value: 'L'
134
  is_nullable: 0
135
  size: 1
136
137
text justification used when notice is printed
138
139
=head2 units
140
141
  data_type: 'char'
142
  default_value: 'INCH'
143
  is_nullable: 0
144
  size: 20
145
146
units to use for print measurements
147
148
=head2 notice_width
149
150
  data_type: 'float'
151
  default_value: 8.5
152
  is_nullable: 0
153
154
width of notice
155
156
=head2 top_margin
157
158
  data_type: 'float'
159
  default_value: 0.5
160
  is_nullable: 0
161
162
top margin for notice
163
164
=head2 left_margin
165
166
  data_type: 'float'
167
  default_value: 0.5
168
  is_nullable: 0
169
170
left margin for notice
171
122
=cut
172
=cut
123
173
124
__PACKAGE__->add_columns(
174
__PACKAGE__->add_columns(
Lines 160-165 __PACKAGE__->add_columns( Link Here
160
    default_value => \"current_timestamp",
210
    default_value => \"current_timestamp",
161
    is_nullable => 0,
211
    is_nullable => 0,
162
  },
212
  },
213
  "font_size",
214
  { data_type => "integer", default_value => 10, is_nullable => 0 },
215
  "text_justify",
216
  { data_type => "char", default_value => "L", is_nullable => 0, size => 1 },
217
  "units",
218
  { data_type => "char", default_value => "INCH", is_nullable => 0, size => 20 },
219
  "notice_width",
220
  { data_type => "float", default_value => 8.5, is_nullable => 0 },
221
  "top_margin",
222
  { data_type => "float", default_value => 0.5, is_nullable => 0 },
223
  "left_margin",
224
  { data_type => "float", default_value => 0.5, is_nullable => 0 },
163
);
225
);
164
226
165
=head1 PRIMARY KEY
227
=head1 PRIMARY KEY
Lines 232-239 __PACKAGE__->belongs_to( Link Here
232
);
294
);
233
295
234
296
235
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-18 12:50:14
297
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-20 04:12:04
236
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA3WvXK/1ZBc407iU7ZcrA
298
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IYNjG8biUHhnkNQ900ON2A
237
299
238
sub koha_object_class {
300
sub koha_object_class {
239
    'Koha::Notice::Template';
301
    'Koha::Notice::Template';
240
- 

Return to bug 33478