View | Details | Raw Unified | Return to bug 11879
Collapse All | Expand All

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +3 lines)
Lines 401-407 __PACKAGE__->table("borrowers"); Link Here
401
  default_value: 1
401
  default_value: 1
402
  is_nullable: 0
402
  is_nullable: 0
403
403
404
=head2 privacy_guarantor_checkouts
404
=head2 primary_contact_method
405
405
406
  data_type: 'tinyint'
406
  data_type: 'tinyint'
407
  default_value: 0
407
  default_value: 0
Lines 574-581 __PACKAGE__->add_columns( Link Here
574
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
574
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
575
  "privacy",
575
  "privacy",
576
  { data_type => "integer", default_value => 1, is_nullable => 0 },
576
  { data_type => "integer", default_value => 1, is_nullable => 0 },
577
  "privacy_guarantor_checkouts",
577
  "primary_contact_method",
578
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
578
  { data_type => "varchar", is_nullable => 1, size => 45 },
579
);
579
);
580
580
581
=head1 PRIMARY KEY
581
=head1 PRIMARY KEY
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (+1 lines)
Lines 240-245 function validate1(date) { Link Here
240
            <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %][%IF ( guarantorfirstname ) %], [% guarantorfirstname %] [% END %]</a></li>
240
            <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %][%IF ( guarantorfirstname ) %], [% guarantorfirstname %] [% END %]</a></li>
241
        [% END %]
241
        [% END %]
242
    [% END %]
242
    [% END %]
243
    <li><span class="label">Main contact method: </span>[% primary_contact_method %]</li>
243
</ol>
244
</ol>
244
</div>
245
</div>
245
      <div class="action">
246
      <div class="action">
(-)a/members/moremember.pl (-1 / +1 lines)
Lines 340-345 $template->param( Link Here
340
    borrowernumber  => $borrowernumber,
340
    borrowernumber  => $borrowernumber,
341
    othernames      => $data->{'othernames'},
341
    othernames      => $data->{'othernames'},
342
    categoryname    => $data->{'description'},
342
    categoryname    => $data->{'description'},
343
    primary_contact_method  => $data->{'primary_contact_method'},
343
    was_renewed     => $input->param('was_renewed') ? 1 : 0,
344
    was_renewed     => $input->param('was_renewed') ? 1 : 0,
344
    branch          => $branch,
345
    branch          => $branch,
345
    todaysdate      => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }),
346
    todaysdate      => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }),
346
- 

Return to bug 11879