Lines 144-150
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
144 |
<div class="dialog alert"> |
144 |
<div class="dialog alert"> |
145 |
<h3>Duplicate patron record?</h3> |
145 |
<h3>Duplicate patron record?</h3> |
146 |
<p><a class="popup_patronview" href="/cgi-bin/koha/members/moremember.pl?print=brief&borrowernumber=[% check_member | uri %]"><i class="fa-solid fa-window-restore"></i> View existing record</a></p> |
146 |
<p><a class="popup_patronview" href="/cgi-bin/koha/members/moremember.pl?print=brief&borrowernumber=[% check_member | uri %]"><i class="fa-solid fa-window-restore"></i> View existing record</a></p> |
147 |
<button id="duplicate" type="submit" class="new"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> It is a duplicate. Edit existing record </button> |
147 |
<a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=[% check_member | uri %]" class="btn btn-default" id="duplicate"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> It is a duplicate. Edit existing record </a> |
148 |
<button type="submit" id="not-duplicate" class="new"> <i class="fa fa-plus"></i> Not a duplicate. Save as new record </button> |
148 |
<button type="submit" id="not-duplicate" class="new"> <i class="fa fa-plus"></i> Not a duplicate. Save as new record </button> |
149 |
</div> |
149 |
</div> |
150 |
[% END %] |
150 |
[% END %] |
Lines 1953-1965
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
1953 |
} |
1953 |
} |
1954 |
}); |
1954 |
}); |
1955 |
|
1955 |
|
1956 |
$('#duplicate').on('click', function() { |
|
|
1957 |
$("input[name='op']").val('edit_form'); |
1958 |
$("input[name='borrowernumber']").val('[% check_member | html %]'); |
1959 |
$("input[name='check_member']").val(''); |
1960 |
$('#entryform').submit(); |
1961 |
}); |
1962 |
|
1963 |
$('#not-duplicate').on('click', function() { |
1956 |
$('#not-duplicate').on('click', function() { |
1964 |
$("input[name='nodouble']").val('1'); |
1957 |
$("input[name='nodouble']").val('1'); |
1965 |
$('#entryform').submit(); |
1958 |
$('#entryform').submit(); |
1966 |
- |
|
|