Lines 36-41
use C4::Letters;
Link Here
|
36 |
use Koha::DateUtils; |
36 |
use Koha::DateUtils; |
37 |
use Koha::Holds; |
37 |
use Koha::Holds; |
38 |
use Koha::Database; |
38 |
use Koha::Database; |
|
|
39 |
use Koha::Patron::Attribute::Types; |
39 |
use Koha::Patron::Messages; |
40 |
use Koha::Patron::Messages; |
40 |
use Koha::Patron::Discharge; |
41 |
use Koha::Patron::Discharge; |
41 |
use Koha::Patrons; |
42 |
use Koha::Patrons; |
Lines 268-274
$template->param( canrenew => $canrenew );
Link Here
|
268 |
$template->param( OVERDUES => \@overdues ); |
269 |
$template->param( OVERDUES => \@overdues ); |
269 |
$template->param( overdues_count => $overdues_count ); |
270 |
$template->param( overdues_count => $overdues_count ); |
270 |
|
271 |
|
271 |
my $show_barcode = C4::Members::AttributeTypes::AttributeTypeExists( ATTRIBUTE_SHOW_BARCODE ); |
272 |
my $show_barcode = Koha::Patron::Attribute::Types->search( |
|
|
273 |
{ code => ATTRIBUTE_SHOW_BARCODE } )->count; |
272 |
if ($show_barcode) { |
274 |
if ($show_barcode) { |
273 |
my $patron_show_barcode = GetBorrowerAttributeValue($borrowernumber, ATTRIBUTE_SHOW_BARCODE); |
275 |
my $patron_show_barcode = GetBorrowerAttributeValue($borrowernumber, ATTRIBUTE_SHOW_BARCODE); |
274 |
undef $show_barcode if defined($patron_show_barcode) && !$patron_show_barcode; |
276 |
undef $show_barcode if defined($patron_show_barcode) && !$patron_show_barcode; |
275 |
- |
|
|