Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
queue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
queue
Commits
b3cc5d94
Commit
b3cc5d94
authored
Dec 29, 2022
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pad numerico
Ajuste query servicios
parent
ecd58c68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
app/Repositories/ServiceRepository.php
app/Repositories/ServiceRepository.php
+1
-0
resources/views/issue_token/index.blade.php
resources/views/issue_token/index.blade.php
+12
-12
No files found.
app/Repositories/ServiceRepository.php
View file @
b3cc5d94
...
@@ -19,6 +19,7 @@ class ServiceRepository
...
@@ -19,6 +19,7 @@ class ServiceRepository
->
join
(
'services'
,
'uservices.services_id'
,
'='
,
'services.id'
)
->
join
(
'services'
,
'uservices.services_id'
,
'='
,
'services.id'
)
->
select
(
'services.*'
)
->
select
(
'services.*'
)
->
where
(
'uservices.user_id'
,
$user
->
id
)
->
where
(
'uservices.user_id'
,
$user
->
id
)
->
where
(
'services.status'
,
true
)
->
get
();
->
get
();
return
$services
;
return
$services
;
...
...
resources/views/issue_token/index.blade.php
View file @
b3cc5d94
...
@@ -80,18 +80,18 @@
...
@@ -80,18 +80,18 @@
<div class="
rut
">
<div class="
rut
">
<span><b>Ingrese su rut para poder solicitar su número de atención</b></span>
<span><b>Ingrese su rut para poder solicitar su número de atención</b></span>
<div class="
input
-
field
numeric
-
pad
" style="
padding
-
left
:
150
px
">
<div class="
input
-
field
numeric
-
pad
" style="
padding
-
left
:
150
px
">
<button onclick="
escribirValor
(
1
,
event
)
">1</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
1
,
event
)
">1</button>
<button onclick="
escribirValor
(
2
,
event
)
">2</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
2
,
event
)
">2</button>
<button onclick="
escribirValor
(
3
,
event
)
">3</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
3
,
event
)
">3</button>
<button onclick="
escribirValor
(
4
,
event
)
">4</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
4
,
event
)
">4</button>
<button onclick="
escribirValor
(
5
,
event
)
">5</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
5
,
event
)
">5</button>
<button onclick="
escribirValor
(
6
,
event
)
">6</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
6
,
event
)
">6</button>
<button onclick="
escribirValor
(
7
,
event
)
">7</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
7
,
event
)
">7</button>
<button onclick="
escribirValor
(
8
,
event
)
">8</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
8
,
event
)
">8</button>
<button onclick="
escribirValor
(
9
,
event
)
">9</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
9
,
event
)
">9</button>
<button onclick="
escribirValor
(
-
2
,
event
)
">K</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
-
2
,
event
)
">K</button>
<button onclick="
escribirValor
(
0
,
event
)
">0</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
0
,
event
)
">0</button>
<button onclick="
escribirValor
(
-
1
,
event
)
">Borrar</button>
<button
style="
background
-
color
:
rgb
(
40
,
104
,
168
);
color
:
white
"
onclick="
escribirValor
(
-
1
,
event
)
">Borrar</button>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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