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
0
Merge Requests
0
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
Alexis AOUN
third-party
Commits
979f1cd2
You need to sign in or sign up before continuing.
Commit
979f1cd2
authored
Jun 10, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quickfix
parent
c7ae8642
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
orders_helper.js
orders/static/js/orders_helper.js
+1
-4
No files found.
orders/static/js/orders_helper.js
View file @
979f1cd2
...
...
@@ -23,8 +23,7 @@ function reset_data() {
order_doc
=
{
_id
:
null
,
products
:
[],
selected_suppliers
:
[],
selected_rows
:
[]
selected_suppliers
:
[]
};
}
...
...
@@ -669,7 +668,6 @@ function update_order_selection_screen() {
order_doc
=
doc
;
products
=
order_doc
.
products
;
selected_suppliers
=
order_doc
.
selected_suppliers
;
selected_rows
=
order_doc
.
selected_rows
;
update_main_screen
();
switch_screen
();
...
...
@@ -746,7 +744,6 @@ function create_order() {
function
update_order
()
{
order_doc
.
products
=
products
;
order_doc
.
selected_suppliers
=
selected_suppliers
;
order_doc
.
selected_rows
=
selected_rows
;
dbc
.
put
(
order_doc
,
function
callback
(
err
,
result
)
{
if
(
!
err
&&
result
!==
undefined
)
{
...
...
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