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
261
Issues
261
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
Paul
third-party
Commits
d7f39d23
Commit
d7f39d23
authored
Jun 08, 2021
by
Arnaud B
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Affichage de la qté commandée dans la colonne qté lors de la réception
parent
3e493613
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
reception_produits.js
reception/static/js/reception_produits.js
+7
-3
No files found.
reception/static/js/reception_produits.js
View file @
d7f39d23
...
@@ -291,7 +291,6 @@ function initLists() {
...
@@ -291,7 +291,6 @@ function initLists() {
dom
:
'lrtip'
,
// Remove the search input from that table
dom
:
'lrtip'
,
// Remove the search input from that table
language
:
{
url
:
'/static/js/datatables/french.json'
}
language
:
{
url
:
'/static/js/datatables/french.json'
}
});
});
// Init table for processed content
// Init table for processed content
table_processed
=
$
(
'#table_processed'
).
DataTable
({
table_processed
=
$
(
'#table_processed'
).
DataTable
({
data
:
list_processed
,
data
:
list_processed
,
...
@@ -327,8 +326,13 @@ function initLists() {
...
@@ -327,8 +326,13 @@ function initLists() {
{
{
data
:
"product_qty"
,
data
:
"product_qty"
,
title
:
"Qté"
,
title
:
"Qté"
,
className
:
"dt-body-center"
,
className
:
"dt-head-center dt-body-center"
,
visible
:
(
reception_status
==
"False"
)
visible
:
(
reception_status
==
"False"
),
render
:
function
(
data
,
type
,
full
)
{
let
disp
=
[
full
.
product_qty
,
(
full
.
old_qty
!==
undefined
)?
full
.
old_qty
:
full
.
product_qty
].
join
(
"/"
);
return
disp
;
},
orderable
:
false
},
},
{
{
data
:
"price_unit"
,
data
:
"price_unit"
,
...
...
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