|
Lines 74-80
$(document).ready(function() {
Link Here
|
| 74 |
$.ajax({ |
74 |
$.ajax({ |
| 75 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
75 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
| 76 |
type: 'GET', |
76 |
type: 'GET', |
| 77 |
url: '/cgi-bin/koha/svc/letters/', |
77 |
url: '/cgi-bin/koha/svc/letters/get/', |
| 78 |
success: function (data) { |
78 |
success: function (data) { |
| 79 |
if ( data.letters.length > 0 ) { |
79 |
if ( data.letters.length > 0 ) { |
| 80 |
if( new_branchcode == '' ) { |
80 |
if( new_branchcode == '' ) { |