|
Lines 119-124
lang of the notice
Link Here
|
| 119 |
|
119 |
|
| 120 |
last modification |
120 |
last modification |
| 121 |
|
121 |
|
|
|
122 |
=head2 font |
| 123 |
|
| 124 |
data_type: 'char' |
| 125 |
default_value: 'TR' |
| 126 |
is_nullable: 0 |
| 127 |
size: 10 |
| 128 |
|
| 129 |
font used when notice is printed |
| 130 |
|
| 131 |
=head2 font_size |
| 132 |
|
| 133 |
data_type: 'integer' |
| 134 |
default_value: 10 |
| 135 |
is_nullable: 0 |
| 136 |
|
| 137 |
font size used when notice is printed |
| 138 |
|
| 139 |
=head2 text_justify |
| 140 |
|
| 141 |
data_type: 'char' |
| 142 |
default_value: 'L' |
| 143 |
is_nullable: 0 |
| 144 |
size: 1 |
| 145 |
|
| 146 |
text justification used when notice is printed |
| 147 |
|
| 148 |
=head2 units |
| 149 |
|
| 150 |
data_type: 'char' |
| 151 |
default_value: 'INCH' |
| 152 |
is_nullable: 0 |
| 153 |
size: 20 |
| 154 |
|
| 155 |
units to use for print measurements |
| 156 |
|
| 157 |
=head2 notice_width |
| 158 |
|
| 159 |
data_type: 'float' |
| 160 |
default_value: 8.5 |
| 161 |
is_nullable: 0 |
| 162 |
|
| 163 |
width of individual notice |
| 164 |
|
| 165 |
=head2 notice_length |
| 166 |
|
| 167 |
data_type: 'float' |
| 168 |
default_value: 11 |
| 169 |
is_nullable: 0 |
| 170 |
|
| 171 |
length of individual notice |
| 172 |
|
| 173 |
=head2 page_width |
| 174 |
|
| 175 |
data_type: 'float' |
| 176 |
default_value: 8.5 |
| 177 |
is_nullable: 0 |
| 178 |
|
| 179 |
width of printer page |
| 180 |
|
| 181 |
=head2 page_length |
| 182 |
|
| 183 |
data_type: 'float' |
| 184 |
default_value: 11 |
| 185 |
is_nullable: 0 |
| 186 |
|
| 187 |
length of printer page |
| 188 |
|
| 189 |
=head2 top_text_margin |
| 190 |
|
| 191 |
data_type: 'float' |
| 192 |
default_value: 0 |
| 193 |
is_nullable: 0 |
| 194 |
|
| 195 |
top margin for notice text |
| 196 |
|
| 197 |
=head2 left_text_margin |
| 198 |
|
| 199 |
data_type: 'float' |
| 200 |
default_value: 0 |
| 201 |
is_nullable: 0 |
| 202 |
|
| 203 |
left margin for notice text |
| 204 |
|
| 205 |
=head2 top_margin |
| 206 |
|
| 207 |
data_type: 'float' |
| 208 |
default_value: 0.5 |
| 209 |
is_nullable: 0 |
| 210 |
|
| 211 |
top margin for page |
| 212 |
|
| 213 |
=head2 left_margin |
| 214 |
|
| 215 |
data_type: 'float' |
| 216 |
default_value: 0.5 |
| 217 |
is_nullable: 0 |
| 218 |
|
| 219 |
left margin for page |
| 220 |
|
| 221 |
=head2 cols |
| 222 |
|
| 223 |
data_type: 'float' |
| 224 |
default_value: 1 |
| 225 |
is_nullable: 0 |
| 226 |
|
| 227 |
number of notices to print across the width of the page |
| 228 |
|
| 229 |
=head2 rows |
| 230 |
|
| 231 |
data_type: 'float' |
| 232 |
default_value: 1 |
| 233 |
is_nullable: 0 |
| 234 |
|
| 235 |
number of notices to print down the length of the page |
| 236 |
|
| 237 |
=head2 col_gap |
| 238 |
|
| 239 |
data_type: 'float' |
| 240 |
default_value: 0 |
| 241 |
is_nullable: 0 |
| 242 |
|
| 243 |
padding between notices across the width of the page |
| 244 |
|
| 245 |
=head2 row_gap |
| 246 |
|
| 247 |
data_type: 'float' |
| 248 |
default_value: 0 |
| 249 |
is_nullable: 0 |
| 250 |
|
| 251 |
padding between notices down the length of the page |
| 252 |
|
| 122 |
=cut |
253 |
=cut |
| 123 |
|
254 |
|
| 124 |
__PACKAGE__->add_columns( |
255 |
__PACKAGE__->add_columns( |
|
Lines 160-165
__PACKAGE__->add_columns(
Link Here
|
| 160 |
default_value => \"current_timestamp", |
291 |
default_value => \"current_timestamp", |
| 161 |
is_nullable => 0, |
292 |
is_nullable => 0, |
| 162 |
}, |
293 |
}, |
|
|
294 |
"font", |
| 295 |
{ data_type => "char", default_value => "TR", is_nullable => 0, size => 10 }, |
| 296 |
"font_size", |
| 297 |
{ data_type => "integer", default_value => 10, is_nullable => 0 }, |
| 298 |
"text_justify", |
| 299 |
{ data_type => "char", default_value => "L", is_nullable => 0, size => 1 }, |
| 300 |
"units", |
| 301 |
{ data_type => "char", default_value => "INCH", is_nullable => 0, size => 20 }, |
| 302 |
"notice_width", |
| 303 |
{ data_type => "float", default_value => 8.5, is_nullable => 0 }, |
| 304 |
"notice_length", |
| 305 |
{ data_type => "float", default_value => 11, is_nullable => 0 }, |
| 306 |
"page_width", |
| 307 |
{ data_type => "float", default_value => 8.5, is_nullable => 0 }, |
| 308 |
"page_length", |
| 309 |
{ data_type => "float", default_value => 11, is_nullable => 0 }, |
| 310 |
"top_text_margin", |
| 311 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 312 |
"left_text_margin", |
| 313 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 314 |
"top_margin", |
| 315 |
{ data_type => "float", default_value => 0.5, is_nullable => 0 }, |
| 316 |
"left_margin", |
| 317 |
{ data_type => "float", default_value => 0.5, is_nullable => 0 }, |
| 318 |
"cols", |
| 319 |
{ data_type => "float", default_value => 1, is_nullable => 0 }, |
| 320 |
"rows", |
| 321 |
{ data_type => "float", default_value => 1, is_nullable => 0 }, |
| 322 |
"col_gap", |
| 323 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 324 |
"row_gap", |
| 325 |
{ data_type => "float", default_value => 0, is_nullable => 0 }, |
| 163 |
); |
326 |
); |
| 164 |
|
327 |
|
| 165 |
=head1 PRIMARY KEY |
328 |
=head1 PRIMARY KEY |
|
Lines 232-239
__PACKAGE__->belongs_to(
Link Here
|
| 232 |
); |
395 |
); |
| 233 |
|
396 |
|
| 234 |
|
397 |
|
| 235 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-18 12:50:14 |
398 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-18 04:46:53 |
| 236 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA3WvXK/1ZBc407iU7ZcrA |
399 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zKDzlnhjBAUv7IIF0dLVfw |
| 237 |
|
400 |
|
| 238 |
sub koha_object_class { |
401 |
sub koha_object_class { |
| 239 |
'Koha::Notice::Template'; |
402 |
'Koha::Notice::Template'; |
| 240 |
- |
|
|