From 2a26033f951b2ef3e1622b85a6d17b0e328e071e Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Mon, 17 Mar 2008 10:43:54 -0400 Subject: [PATCH] Fourth installment Patron card generation feature Signed-off-by: Joshua Ferraro --- .../prog/en/css/staff-global.css | 4 +-- .../includes/tools-labels-batches-toolbar.inc | 35 +++++++++++++++++++ .../prog/en/includes/tools-labels-toolbar.inc | 6 ++-- labels/label-print-pdf.pl | 2 +- 4 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-batches-toolbar.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index c5a11ebf59..3a2cc28a35 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -698,7 +698,7 @@ fieldset.rows .inputnote { visibility:visible; /* you propably don't need to change this one */ display:block; } -#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newbatch a, #newprofile a, #newsubscription a, #newdictionary a, #neworder a { +#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #neworder a { padding-left : 34px; background-image: url("../../img/toolbar-new.gif"); background-position : center left; @@ -1474,4 +1474,4 @@ ul#i18nMenu li.more ul li a { display : block; color : #999; font-style : italic; -} \ No newline at end of file +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-batches-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-batches-toolbar.inc new file mode 100644 index 0000000000..08c8d7c03b --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-batches-toolbar.inc @@ -0,0 +1,35 @@ +
+ +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-toolbar.inc index 7a19c52111..144b0d6907 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-labels-toolbar.inc @@ -14,7 +14,8 @@ new YAHOO.widget.Button("newlabel"); new YAHOO.widget.Button("newtemplate"); new YAHOO.widget.Button("newprofile"); - new YAHOO.widget.Button("newbatch"); + new YAHOO.widget.Button("newlabelbatch"); + new YAHOO.widget.Button("newpatroncardbatch"); } //]]> @@ -23,5 +24,6 @@
  • New Layout
  • New Label Template
  • New Printer Profile
  • -
  • New Label Batch
  • +
  • New Label Batch
  • +
  • New Patron Card Batch
  • diff --git a/labels/label-print-pdf.pl b/labels/label-print-pdf.pl index cb0939cf85..d21c19384f 100755 --- a/labels/label-print-pdf.pl +++ b/labels/label-print-pdf.pl @@ -49,7 +49,7 @@ my $units = $template->{'units'}; if ($printingtype eq 'PATCRD') { @resultsloop = GetPatronCardItems($batch_id); } else { - @resultsloop = get_label_items($batch_id); + @resultsloop = GetLabelItems($batch_id); } #warn "UNITS $units"; -- 2.39.5