Lines 478-484
Link Here
|
478 |
$.ajax({ |
478 |
$.ajax({ |
479 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
479 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
480 |
type: 'GET', |
480 |
type: 'GET', |
481 |
url: '/cgi-bin/koha/svc/letters/', |
481 |
url: '/cgi-bin/koha/svc/letters/get/', |
482 |
success: function (data) { |
482 |
success: function (data) { |
483 |
if ( data.letters.length > 0 ) { |
483 |
if ( data.letters.length > 0 ) { |
484 |
if( new_branchcode == '' ) { |
484 |
if( new_branchcode == '' ) { |