Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
DoliSCAN
client-cordova
Commits
6133ad9f
Commit
6133ad9f
authored
Mar 20, 2021
by
Eric Seigne
Browse files
uuid
parent
ecb7afb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/config-addVehicule.html
View file @
6133ad9f
...
...
@@ -31,6 +31,7 @@
</ons-row>
<input
type=
"hidden"
name=
"energievalue"
id=
"energievalue"
value=
""
>
<input
type=
"hidden"
name=
"uuid"
id=
"uuid"
value=
""
>
<input
type=
"hidden"
name=
"puissancevalue"
id=
"puissancevalue"
value=
""
>
<input
type=
"hidden"
name=
"typevalue"
id=
"typevalue"
value=
""
>
...
...
@@ -125,8 +126,9 @@
let
type
=
document
.
getElementById
(
'
typevalue
'
).
value
;
let
kmbefore
=
document
.
getElementById
(
'
kmbefore
'
).
value
;
let
immat
=
document
.
getElementById
(
'
immat
'
).
value
;
let
uuid
=
document
.
getElementById
(
'
uuid
'
).
value
;
addVehicule
(
"
vehicules
"
,
nom
,
energie
,
puissance
,
type
,
kmbefore
,
immat
).
then
(
addVehicule
(
"
vehicules
"
,
nom
,
energie
,
puissance
,
type
,
kmbefore
,
immat
,
uuid
).
then
(
ons
.
notification
.
alert
(
"
Véhicule ajouté.
"
,
{
title
:
"
Information
"
}).
then
(
function
()
{
closePage
(
true
);
}
)
...
...
www/config-addVehiculePro.html
View file @
6133ad9f
...
...
@@ -30,6 +30,7 @@
</ons-col>
</ons-row>
<input
type=
"hidden"
name=
"uuid"
id=
"uuid"
value=
""
>
<input
type=
"hidden"
name=
"energievalue"
id=
"energievalue"
value=
""
>
<input
type=
"hidden"
name=
"puissancevalue"
id=
"puissancevalue"
value=
""
>
<input
type=
"hidden"
name=
"typevalue"
id=
"typevalue"
value=
""
>
...
...
@@ -121,8 +122,9 @@
let
type
=
document
.
getElementById
(
'
typevalue
'
).
value
;
let
kmbefore
=
0
;
//En vehicule pro on s'en fiche
let
immat
=
document
.
getElementById
(
'
immat
'
).
value
;
let
uuid
=
document
.
getElementById
(
'
uuid
'
).
value
;
addVehicule
(
"
vehiculesPro
"
,
nom
,
energie
,
puissance
,
type
,
kmbefore
,
immat
).
then
(
addVehicule
(
"
vehiculesPro
"
,
nom
,
energie
,
puissance
,
type
,
kmbefore
,
immat
,
uuid
).
then
(
ons
.
notification
.
alert
(
"
Véhicule ajouté.
"
,
{
title
:
"
Information
"
}).
then
(
function
()
{
closePage
(
true
);
}
)
...
...
Write
Preview
Supports
Markdown
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