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

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +3 lines)
Lines 395-401 __PACKAGE__->table("borrowers"); Link Here
395
  default_value: 1
395
  default_value: 1
396
  is_nullable: 0
396
  is_nullable: 0
397
397
398
=head2 privacy_guarantor_checkouts
398
=head2 primary_contact_method
399
399
400
  data_type: 'tinyint'
400
  data_type: 'tinyint'
401
  default_value: 0
401
  default_value: 0
Lines 566-573 __PACKAGE__->add_columns( Link Here
566
  { data_type => "varchar", is_nullable => 1, size => 50 },
566
  { data_type => "varchar", is_nullable => 1, size => 50 },
567
  "privacy",
567
  "privacy",
568
  { data_type => "integer", default_value => 1, is_nullable => 0 },
568
  { data_type => "integer", default_value => 1, is_nullable => 0 },
569
  "privacy_guarantor_checkouts",
569
  "primary_contact_method",
570
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
570
  { data_type => "varchar", is_nullable => 1, size => 45 },
571
);
571
);
572
572
573
=head1 PRIMARY KEY
573
=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