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 239-244 function validate1(date) { Link Here
239
            <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %][%IF ( guarantorfirstname ) %], [% guarantorfirstname %] [% END %]</a></li>
239
            <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %][%IF ( guarantorfirstname ) %], [% guarantorfirstname %] [% END %]</a></li>
240
        [% END %]
240
        [% END %]
241
    [% END %]
241
    [% END %]
242
    <li><span class="label">Main contact method: </span>[% primary_contact_method %]</li>
242
</ol>
243
</ol>
243
</div>
244
</div>
244
      <div class="action">
245
      <div class="action">
(-)a/members/moremember.pl (-1 / +1 lines)
Lines 337-342 $template->param( Link Here
337
    borrowernumber  => $borrowernumber,
337
    borrowernumber  => $borrowernumber,
338
    othernames      => $data->{'othernames'},
338
    othernames      => $data->{'othernames'},
339
    categoryname    => $data->{'description'},
339
    categoryname    => $data->{'description'},
340
    primary_contact_method  => $data->{'primary_contact_method'},
340
    was_renewed     => $input->param('was_renewed') ? 1 : 0,
341
    was_renewed     => $input->param('was_renewed') ? 1 : 0,
341
    branch          => $branch,
342
    branch          => $branch,
342
    todaysdate      => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }),
343
    todaysdate      => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }),
343
- 

Return to bug 11879