Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
queue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Indra Raja
queue
Commits
25e5c6d7
Commit
25e5c6d7
authored
Oct 23, 2020
by
Azy Mushofy Anwary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cobaba
parent
700de14c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
35 deletions
+36
-35
public/action-js/antrian-js/action-admin.js
public/action-js/antrian-js/action-admin.js
+35
-33
public/action-js/antrian-js/action-kelolapoli.js
public/action-js/antrian-js/action-kelolapoli.js
+1
-2
No files found.
public/action-js/antrian-js/action-admin.js
View file @
25e5c6d7
...
@@ -12,7 +12,7 @@ const STATUS_MISSED = 60;
...
@@ -12,7 +12,7 @@ const STATUS_MISSED = 60;
/* JS comes here */
/* JS comes here */
function
textToAudio
()
{
function
textToAudio
()
{
let
no_antrian
=
document
.
getElementById
(
"
no_antrian
"
).
innerHTML
;
let
no_antrian
=
document
.
getElementById
(
"
no_antrian
"
).
innerHTML
;
// let msg1 = "nomor antrian";
let
voice
=
"
nomor antrian
"
+
no_antrian
;
let
voice
=
"
nomor antrian
"
+
no_antrian
;
console
.
log
(
voice
)
console
.
log
(
voice
)
...
@@ -348,14 +348,16 @@ function actionqueue(antrianno, status) {
...
@@ -348,14 +348,16 @@ function actionqueue(antrianno, status) {
var
flush
=
new
Audio
(
'
../../data/tone/a1.mp3
'
);
var
flush
=
new
Audio
(
'
../../data/tone/a1.mp3
'
);
setTimeout
(
function
()
{
setTimeout
(
function
()
{
flush
.
play
();
},
)
flush
.
play
();
})
flush
.
onended
=
function
()
{
flush
.
onended
=
function
()
{
textToAudio
()
textToAudio
()
setTimeout
(
function
()
{
setTimeout
(
function
()
{
textToAudioRuang
()
},
3000
)
textToAudioRuang
()
},
3000
)
};
};
swal
({
swal
({
...
...
public/action-js/antrian-js/action-kelolapoli.js
View file @
25e5c6d7
...
@@ -396,8 +396,7 @@ function loadedit(param) {
...
@@ -396,8 +396,7 @@ function loadedit(param) {
success
:
function
(
result
)
{
success
:
function
(
result
)
{
// console.log(result);
// console.log(result);
// $('.loaddata').empty();
// $('.loaddata').empty();
// console.log(result);
// $('.loaddata').empty();
if
(
result
.
code
==
0
)
{
if
(
result
.
code
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment