|
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: 14 |
| 126 |
is_nullable: 0 |
| 127 |
|
| 128 |
font size used when notice is printed |
| 129 |
|
| 130 |
=head2 text_justify |
| 131 |
|
| 132 |
data_type: 'enum' |
| 133 |
default_value: 'L' |
| 134 |
extra: {list => ["L","C","R"]} |
| 135 |
is_nullable: 0 |
| 136 |
|
| 137 |
text justification used when notice is printed |
| 138 |
|
| 139 |
=head2 units |
| 140 |
|
| 141 |
data_type: 'enum' |
| 142 |
default_value: 'INCH' |
| 143 |
extra: {list => ["POINT","INCH","MM","CM"]} |
| 144 |
is_nullable: 0 |
| 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 |
| 160 |
is_nullable: 0 |
| 161 |
|
| 162 |
top margin for notice |
| 163 |
|
| 164 |
=head2 left_margin |
| 165 |
|
| 166 |
data_type: 'float' |
| 167 |
default_value: 0 |
| 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 => 14, is_nullable => 0 }, |
| 215 |
"text_justify", |
| 216 |
{ |
| 217 |
data_type => "enum", |
| 218 |
default_value => "L", |
| 219 |
extra => { list => ["L", "C", "R"] }, |
| 220 |
is_nullable => 0, |
| 221 |
}, |
| 222 |
"units", |
| 223 |
{ |
| 224 |
data_type => "enum", |
| 225 |
default_value => "INCH", |
| 226 |
extra => { list => ["POINT", "INCH", "MM", "CM"] }, |
| 227 |
is_nullable => 0, |
| 228 |
}, |
| 229 |
"notice_width", |
| 230 |
{ data_type => "float", default_value => 8.5, is_nullable => 0 }, |
| 231 |
"top_margin", |
| 232 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 233 |
"left_margin", |
| 234 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 163 |
); |
235 |
); |
| 164 |
|
236 |
|
| 165 |
=head1 PRIMARY KEY |
237 |
=head1 PRIMARY KEY |
|
Lines 232-239
__PACKAGE__->belongs_to(
Link Here
|
| 232 |
); |
304 |
); |
| 233 |
|
305 |
|
| 234 |
|
306 |
|
| 235 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-18 12:50:14 |
307 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-27 04:16:22 |
| 236 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA3WvXK/1ZBc407iU7ZcrA |
308 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6UU3qiPymxx0QY3G9SvD2Q |
| 237 |
|
309 |
|
| 238 |
sub koha_object_class { |
310 |
sub koha_object_class { |
| 239 |
'Koha::Notice::Template'; |
311 |
'Koha::Notice::Template'; |
| 240 |
- |
|
|