|
Lines 623-634
if (C4::Context->preference("IndependentBranches")) {
Link Here
|
| 623 |
} |
623 |
} |
| 624 |
|
624 |
|
| 625 |
# Define the fields to be pre-filled in guarantee records |
625 |
# Define the fields to be pre-filled in guarantee records |
| 626 |
my $prefillguarantorfields=C4::Context->preference("PrefillGuaranteeField"); |
626 |
my $prefillguarantorfields = C4::Context->preference("PrefillGuaranteeField"); |
| 627 |
my @prefill_fields=split(/\,/,$prefillguarantorfields); |
627 |
my @prefill_fields = split( /\,/, $prefillguarantorfields ); |
| 628 |
$template->param( |
628 |
$template->param( |
| 629 |
prefill_fields => \@prefill_fields, |
629 |
prefill_fields => \@prefill_fields, |
| 630 |
to_api_mapping => Koha::Patron->new->to_api_mapping |
630 |
to_api_mapping => Koha::Patron->new->to_api_mapping |
| 631 |
); |
631 |
); |
| 632 |
|
632 |
|
| 633 |
if ($op eq 'add'){ |
633 |
if ($op eq 'add'){ |
| 634 |
if ($guarantor_id) { |
634 |
if ($guarantor_id) { |
| 635 |
- |
|
|