Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
3c3e600c
Commit
3c3e600c
authored
Oct 29, 2019
by
Xiaowu Zhang
Committed by
Titouan Soulard
Mar 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_production_planning: show notification whe not editable also
parent
623d8fe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
bt5/erp5_production_planning/SkinTemplateItem/portal_skins/erp5_production_planning/matrix_dynamic_total_line_column.js.js
...roduction_planning/matrix_dynamic_total_line_column.js.js
+5
-4
bt5/erp5_production_planning/SkinTemplateItem/portal_skins/erp5_production_planning/production_planning.css.css
...kins/erp5_production_planning/production_planning.css.css
+13
-2
No files found.
bt5/erp5_production_planning/SkinTemplateItem/portal_skins/erp5_production_planning/matrix_dynamic_total_line_column.js.js
View file @
3c3e600c
...
@@ -45,14 +45,15 @@ function recalculateSumLine(idx, element) {
...
@@ -45,14 +45,15 @@ function recalculateSumLine(idx, element) {
inputs
=
matrixbox
.
find
(
'
tr
'
).
find
(
'
td:eq(
'
+
(
idx
+
1
)
+
'
)
'
);
inputs
=
matrixbox
.
find
(
'
tr
'
).
find
(
'
td:eq(
'
+
(
idx
+
1
)
+
'
)
'
);
for
(
i
=
1
;
i
<
inputs
.
length
-
1
;
i
++
)
{
for
(
i
=
1
;
i
<
inputs
.
length
-
1
;
i
++
)
{
var
input
=
inputs
[
i
];
var
input
=
inputs
[
i
];
text
=
input
.
parentElement
.
querySelector
(
'
.matrixbox_label_column
'
).
innerText
;
span
=
document
.
createElement
(
'
span
'
);
span
.
innerText
=
text
;
var
tmp
=
input
.
querySelector
(
'
input
'
);
var
tmp
=
input
.
querySelector
(
'
input
'
);
if
(
tmp
)
{
if
(
tmp
)
{
text
=
tmp
.
parentElement
.
parentElement
.
parentElement
.
querySelector
(
'
.matrixbox_label_column
'
).
innerText
;
tmp
.
parentElement
.
appendChild
(
span
);
span
=
document
.
createElement
(
'
span
'
);
span
.
innerText
=
text
;
tmp
.
parentElement
.
appendChild
(
span
);
v
=
parse
(
tmp
.
value
);
v
=
parse
(
tmp
.
value
);
}
else
{
}
else
{
input
.
querySelector
(
'
span
'
).
appendChild
(
span
);
v
=
parse
(
input
.
innerText
);
v
=
parse
(
input
.
innerText
);
}
}
if
(
v
)
{
sum
+=
v
;
}
if
(
v
)
{
sum
+=
v
;
}
...
...
bt5/erp5_production_planning/SkinTemplateItem/portal_skins/erp5_production_planning/production_planning.css.css
View file @
3c3e600c
...
@@ -5,17 +5,28 @@
...
@@ -5,17 +5,28 @@
.matrixbox_production_planning
table
tbody
td
span
:last-child
span
{
.matrixbox_production_planning
table
tbody
td
span
:last-child
span
{
display
:
none
;
display
:
none
;
position
:
absolute
;
position
:
absolute
;
left
:
10
0px
;
left
:
3
0px
;
background
:
black
;
background
:
black
;
color
:
white
;
color
:
white
;
z-index
:
100
;
z-index
:
100
;
min-width
:
200px
;
}
.matrixbox_production_planning
table
tbody
td
span
:last-child
input
~
span
{
left
:
100px
;
}
}
/*
.matrixbox_production_planning table tbody td span:last-child:focus span,
.matrixbox_production_planning table tbody td span:last-child:focus span,
.matrixbox_production_planning table tbody td span:last-child:hover span {
.matrixbox_production_planning table tbody td span:last-child:hover span {
display: inline;
display: inline;
}
}
*/
.matrixbox_production_planning
table
tbody
td
:focus
span
:last-child
span
,
.matrixbox_production_planning
table
tbody
td
:hover
span
:last-child
span
{
display
:
inline
;
}
.content
.field
.warning
{
.content
.field
.warning
{
color
:
#f40
;
color
:
#f40
;
...
...
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