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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +2 lines)
Lines 489-500 Link Here
489
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
489
                                                            <li class="guarantor-details" data-borrowernumber="[% r.guarantor_id | $raw %]">
490
                                                                <span class="label">Guarantor:</span>
490
                                                                <span class="label">Guarantor:</span>
491
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor hide_patron_infos_if_needed=1 %]
491
                                                                [% INCLUDE 'patron-title.inc' patron=r.guarantor hide_patron_infos_if_needed=1 %]
492
                                                                <input type="hidden" class="new_guarantor_id relation-[% r.id | html %]" name="new_guarantor_id" value="[% r.guarantor_id | html %]" />
492
                                                                <input type="hidden" class="guarantor_id relation-[% r.id | html %]" name="guarantor_id" value="[% r.guarantor_id | html %]" />
493
                                                            </li>
493
                                                            </li>
494
                                                            <li>
494
                                                            <li>
495
                                                                <span class="label">Relationship:</span>
495
                                                                <span class="label">Relationship:</span>
496
                                                                <span>[% r.relationship | html %]</span>
496
                                                                <span>[% r.relationship | html %]</span>
497
                                                                <input type="hidden" class="new_guarantor_relationship relation-[% r.id | html %]" name="new_guarantor_relationship" value="[% r.relationship | html %]" />
497
                                                                <input type="hidden" class="guarantor_relationship relation-[% r.id | html %]" name="guarantor_relationship" value="[% r.relationship | html %]" />
498
                                                            </li>
498
                                                            </li>
499
499
500
                                                            <li>
500
                                                            <li>
(-)a/members/memberentry.pl (-1 / +3 lines)
Lines 560-565 if ( ( !$nok ) and $nodouble and ( $op eq 'cud-insert' or $op eq 'cud-save' ) ) Link Here
560
560
561
        delete $newdata{password2};
561
        delete $newdata{password2};
562
562
563
        delete $newdata{guarantor_id};
564
        delete $newdata{guarantor_relationship};
565
563
        try {
566
        try {
564
            $patron->set( \%newdata )->store( { guarantors => \@guarantors } ) if scalar( keys %newdata ) > 1;
567
            $patron->set( \%newdata )->store( { guarantors => \@guarantors } ) if scalar( keys %newdata ) > 1;
565
568
566
- 

Return to bug 40116