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 78-84 $(document).ready(function() { Link Here
78
          $.ajax({
78
          $.ajax({
79
            data: { code: new_lettercode, branchcode: new_branchcode },
79
            data: { code: new_lettercode, branchcode: new_branchcode },
80
            type: 'GET',
80
            type: 'GET',
81
            url: '/cgi-bin/koha/svc/letters/',
81
            url: '/cgi-bin/koha/svc/letters/get/',
82
            success: function (data) {
82
            success: function (data) {
83
              if ( data.letters.length > 0 ) {
83
              if ( data.letters.length > 0 ) {
84
                if( new_branchcode == '' ) {
84
                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