--- /dev/null
+package C4::Creators;
+
+BEGIN {
+ use version; our $VERSION = qv('1.0.0_1');
+ use vars qw(@EXPORT, @ISA);
+ @ISA = qw(Exporter);
+ our @EXPORT = qw(get_all_templates
+ get_all_layouts
+ get_all_profiles
+ get_all_image_names
+ get_batch_summary
+ get_label_summary
+ get_card_summary
+ get_barcode_types
+ get_label_types
+ get_font_types
+ get_text_justification_types
+ get_output_formats
+ get_column_names
+ get_table_names
+ get_unit_values
+ html_table
+ );
+ use C4::Creators::Lib 1.000000;
+ use C4::Creators::PDF 1.000000;
+}
+
+1;
BEGIN {
use version; our $VERSION = qv('1.0.0_1');
use base qw(Exporter);
- our @EXPORT_OK = qw(get_all_templates
- get_all_layouts
- get_all_profiles
- get_all_image_names
- get_batch_summary
- get_label_summary
- get_card_summary
- get_barcode_types
- get_label_types
- get_font_types
- get_text_justification_types
- get_output_formats
- get_column_names
- get_table_names
- get_unit_values
- html_table
+ our @EXPORT = qw(get_all_templates
+ get_all_layouts
+ get_all_profiles
+ get_all_image_names
+ get_batch_summary
+ get_label_summary
+ get_card_summary
+ get_barcode_types
+ get_label_types
+ get_font_types
+ get_text_justification_types
+ get_output_formats
+ get_column_names
+ get_table_names
+ get_unit_values
+ html_table
);
}
--- /dev/null
+package C4::Labels;
+
+BEGIN {
+ use version; our $VERSION = qv('1.0.0_1');
+
+ use C4::Labels::Batch 1.000000;
+ use C4::Labels::Label 1.000000;
+ use C4::Labels::Layout 1.000000;
+ use C4::Labels::Profile 1.000000;
+ use C4::Labels::Template 1.000000;
+}
+
+1;
BEGIN {
use version; our $VERSION = qv('1.0.0_1');
use base qw(Exporter);
- our @EXPORT_OK = qw(get_all_templates
- get_all_layouts
- get_all_profiles
- get_batch_summary
- get_label_summary
- get_barcode_types
- get_label_types
- get_font_types
- get_text_justification_types
- get_label_output_formats
- get_column_names
- get_table_names
- get_unit_values
- html_table
+ our @EXPORT = qw(get_all_templates
+ get_all_layouts
+ get_all_profiles
+ get_batch_summary
+ get_label_summary
+ get_barcode_types
+ get_label_types
+ get_font_types
+ get_text_justification_types
+ get_label_output_formats
+ get_column_names
+ get_table_names
+ get_unit_values
+ html_table
);
}
--- /dev/null
+package C4::Patroncards;
+
+BEGIN {
+ use version; our $VERSION = qv('1.0.0_1');
+ use vars qw(@EXPORT, @ISA);
+ @ISA = qw(Exporter);
+ our @EXPORT = qw(unpack_UTF8
+ text_alignment
+ leading
+ box
+ get_borrower_attributes
+ put_image
+ get_image
+ rm_image
+ );
+ use C4::Patroncards::Batch 1.000000;
+ use C4::Patroncards::Layout 1.000000;
+ use C4::Patroncards::Lib 1.000000;
+ use C4::Patroncards::Patroncard 1.000000;
+ use C4::Patroncards::Profile 1.000000;
+ use C4::Patroncards::Template 1.000000;
+}
+
+1;
BEGIN {
use version; our $VERSION = qv('1.0.0_1');
use base qw(Exporter);
- our @EXPORT_OK = qw(unpack_UTF8
- text_alignment
- leading
- box
- get_borrower_attributes
- put_image
- get_image
- rm_image
+ our @EXPORT = qw(unpack_UTF8
+ text_alignment
+ leading
+ box
+ get_borrower_attributes
+ put_image
+ get_image
+ rm_image
);
}
use Data::Dumper;
use C4::Debug;
-use C4::Labels::Batch 1.000000;
-use C4::Labels::Template 1.000000;
-use C4::Labels::Layout 1.000000;
-use C4::Creators::PDF 1.000000;
-use C4::Labels::Label 1.000000;
+use C4::Creators 1.000000;
+use C4::Label 1.000000;
=head
=head1 LICENSE
This file is part of Koha.
-
+
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
use CGI;
use C4::Debug;
-use C4::Labels::Batch 1.000000;
-use C4::Labels::Template 1.000000;
-use C4::Labels::Layout 1.000000;
-use C4::Creators::PDF 1.000000;
-use C4::Labels::Label 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
LABEL_ITEMS:
foreach my $item (@{$items}) {
my ($barcode_llx, $barcode_lly, $barcode_width, $barcode_y_scale_factor) = 0,0,0,0;
- if ($layout->get_attr('printing_type') eq 'ALT') { # we process the ALT style printing type here because it is not an atomic printing type
+ if ($layout->get_attr('printing_type') eq 'ALT') { # we process the ALT style printing type here because it is not an atomic printing type
my $label_a = C4::Labels::Label->new(
batch_id => $batch_id,
item_number => $item->{'item_number'},
=head1 LICENSE
This file is part of Koha.
-
+
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
use Data::Dumper;
use C4::Debug;
-use C4::Labels::Batch 1.000000;
-use C4::Labels::Template 1.000000;
-use C4::Labels::Layout 1.000000;
-use C4::Creators::PDF 1.000000;
-use C4::Labels::Label 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
=head
=head1 LICENSE
This file is part of Koha.
-
+
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
use C4::Branch qw(get_branch_code_from_name);
-use C4::Creators::Lib 1.000000 qw(get_label_summary html_table);
-use C4::Labels::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_barcode_types get_label_types get_font_types get_text_justification_types);
-use C4::Labels::Layout 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_all_templates get_unit_values);
-use C4::Labels::Profile 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_all_profiles get_unit_values);
-use C4::Labels::Template 1.000000;
-use C4::Labels::Profile 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
use autouse 'C4::Branch' => qw(get_branch_code_from_name);
-use C4::Creators::Lib 1.000000 qw(get_all_templates get_all_layouts get_all_profiles get_batch_summary html_table);
-use C4::Labels::Layout 1.000000;
-use C4::Labels::Template 1.000000;
-use C4::Labels::Profile 1.000000;
-use C4::Labels::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Labels::Lib 1.000000 qw(get_all_templates get_all_layouts get_label_output_formats);
-use C4::Labels::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Debug;
use C4::Context;
use autouse 'C4::Members' => qw(GetPatronImage GetMember);
-use C4::Creators::PDF 1.000000;
-use C4::Patroncards::Batch 1.000000;
-use C4::Patroncards::Template 1.000000;
-use C4::Patroncards::Layout 1.000000;
-use C4::Patroncards::Patroncard 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = new CGI;
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
use C4::Branch qw(get_branch_code_from_name);
-use C4::Creators::Lib 1.000000 qw(get_card_summary html_table);
-use C4::Patroncards::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_barcode_types get_label_types get_font_types get_text_justification_types get_unit_values get_all_image_names);
-use C4::Patroncards::Layout 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_all_profiles get_unit_values);
-use C4::Patroncards::Template 1.000000;
-use C4::Patroncards::Profile 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth;
use C4::Output;
use C4::Debug;
-use C4::Creators::Lib 1.000000 qw(html_table);
-use C4::Patroncards::Lib 1.000000 qw(put_image get_image rm_image);
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = CGI->new;
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
use autouse 'C4::Branch' => qw(get_branch_code_from_name);
-use C4::Creators::Lib 1.000000 qw(get_all_templates get_all_layouts get_all_profiles get_batch_summary html_table);
-use C4::Patroncards::Layout 1.000000;
-use C4::Patroncards::Template 1.000000;
-use C4::Patroncards::Profile 1.000000;
-use C4::Labels::Batch 1.000000;
+#use C4::Creators::Lib 1.000000 qw(get_all_templates get_all_layouts get_all_profiles get_batch_summary html_table);
+#use C4::Patroncards::Layout 1.000000;
+#use C4::Patroncards::Template 1.000000;
+#use C4::Patroncards::Profile 1.000000;
+#use C4::Labels::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
+use C4::Labels 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use C4::Creators::Lib 1.000000 qw(get_all_templates get_all_layouts get_output_formats);
-use C4::Patroncards::Batch 1.000000;
+use C4::Creators 1.000000;
+use C4::Patroncards 1.000000;
my $cgi = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(