From 15ed7ca1c683902cab830980be164594f8d652ff Mon Sep 17 00:00:00 2001 From: Mikhail Bortnikov Date: Mon, 10 Apr 2017 18:57:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=20=D0=BA=20=D1=81=D0=B5?= =?UTF-8?q?=D1=80=D0=B2=D0=B5=D1=80=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/bill.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/js/bill.js b/static/js/bill.js index a16ce59..8d0d89c 100755 --- a/static/js/bill.js +++ b/static/js/bill.js @@ -139,6 +139,15 @@ function open_service_request_window(course){ } } +function send_letter_to_manager(course){ + if ($('[name=REQUEST_USER_ID]').val() != 'None'){ + $.ajax({ + type: 'GET', + url: '/management/send_letter_to_manager', + data: {'id': $('[name=REQUEST_USER_ID]').val(), 'course': course} + }) + } +} function open_journal_request_window() { $('#journalAccess').modal('show'); }