Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
9e0f8ad0
Commit
9e0f8ad0
authored
Jun 23, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed
parent
c4f658a5
Pipeline
#2267
passed with stage
in 1 minute 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
shelfs_admin.js
shelfs/static/js/shelfs_admin.js
+2
-1
admin.html
templates/shelfs/admin.html
+1
-1
No files found.
shelfs/static/js/shelfs_admin.js
View file @
9e0f8ad0
...
@@ -15,6 +15,7 @@ var main_content = $('#main-content'),
...
@@ -15,6 +15,7 @@ var main_content = $('#main-content'),
destroy_shelf_msg
=
$
(
'#destroy-shelf-msg'
),
destroy_shelf_msg
=
$
(
'#destroy-shelf-msg'
),
adding_pdts_tpl
=
$
(
'#adding-products'
).
clone
()
adding_pdts_tpl
=
$
(
'#adding-products'
).
clone
()
.
removeAttr
(
'id'
),
.
removeAttr
(
'id'
),
add_products
=
$
(
'.add-products'
),
active_phase
=
'main'
,
active_phase
=
'main'
,
add_to_shelf_product_ids
=
[],
add_to_shelf_product_ids
=
[],
barcodes
=
null
;
barcodes
=
null
;
...
@@ -475,7 +476,7 @@ var recordProductsAddedShelf = function() {
...
@@ -475,7 +476,7 @@ var recordProductsAddedShelf = function() {
else
if
(
typeof
rData
.
res
.
msg
!=
"undefined"
)
else
if
(
typeof
rData
.
res
.
msg
!=
"undefined"
)
msg
=
rData
.
res
.
msg
;
msg
=
rData
.
res
.
msg
;
alert
(
msg
);
alert
(
msg
);
main_content
.
find
(
'.add-products'
)
main_content
.
find
(
'.add-products'
)
.
html
(
add_products
);
}
}
}
}
...
...
templates/shelfs/admin.html
View file @
9e0f8ad0
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<p>
<p>
VOUS POUVEZ AJOUTER PLUSIEURS PRODUITS A LA FOIS AVANT DE VALIDER
VOUS POUVEZ AJOUTER PLUSIEURS PRODUITS A LA FOIS AVANT DE VALIDER
</p>
</p>
<button
type=
"button"
class=
"btn--primary"
>
A
JOUTER LES PRODUITS AU RAYON
</button>
<button
type=
"button"
class=
"btn--primary"
>
A
jouter les produits au rayon
</button>
</div>
</div>
</div>
</div>
<div
id=
"main-table-wrap"
>
<div
id=
"main-table-wrap"
>
...
...
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