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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-1 / +1 lines)
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 == '' ) {
(-)a/svc/letters (-4 / +3 lines)
Lines 24-34 use C4::Letters qw( GetLetters ); Link Here
24
24
25
=head1 NAME
25
=head1 NAME
26
26
27
svc/letters - Web service for getting letters
27
svc/letters/get - Web service for getting letters
28
28
29
=head1 SYNOPSIS
29
=head1 SYNOPSIS
30
30
31
  GET /svc/letters
31
  GET /svc/letters/get
32
32
33
=head1 DESCRIPTION
33
=head1 DESCRIPTION
34
34
Lines 42-48 For the moment, this service is only used to get a letter from a letter code. Link Here
42
42
43
=over 4
43
=over 4
44
44
45
GET /svc/letters/$code
45
GET /svc/letters/get/$code
46
46
47
=back
47
=back
48
48
49
- 

Return to bug 17981