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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
3b5fb4ac
Commit
3b5fb4ac
authored
Nov 04, 2021
by
Roque
Browse files
Options
Browse Files
Download
Plain Diff
erp5_travel_expense: remove leaves days counter
See merge request
nexedi/erp5!1505
parents
3379bd22
db138f5e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
17 deletions
+4
-17
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.html
...em/web_page_module/gadget_hr_leave_request_list_html.html
+0
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.xml
...tem/web_page_module/gadget_hr_leave_request_list_html.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.js
...teItem/web_page_module/gadget_hr_leave_request_list_js.js
+0
-10
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.xml
...eItem/web_page_module/gadget_hr_leave_request_list_js.xml
+2
-2
No files found.
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.html
View file @
3b5fb4ac
...
...
@@ -13,9 +13,6 @@
<script
src=
"gadget_officejs_page_leave_request_record_list.js"
></script>
<script
class=
"page-template"
type=
"text/x-handlebars-template"
>
{{
#
if
day_left
}}
<
p
data
-
i18n
=
"
Leaves days left:
"
>
Leaves
days
left
:
<
span
>
{{
day_left
}}
<
/span></
p
>
{{
/
if
}}
<
div
class
=
"
leave_request_listbox
"
><
/div
>
</script>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.xml
View file @
3b5fb4ac
...
...
@@ -280,7 +280,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.11901.58686.802
</string>
</value>
<value>
<string>
9
95.60736.17113.256
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -298,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>
1
486546513.23
</float>
<float>
1
636047630.35
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.js
View file @
3b5fb4ac
...
...
@@ -75,16 +75,6 @@
});
})
.
push
(
function
()
{
return
gadget
.
jio_allDocs
({
query
:
'
portal_type: "Leave Report Record"
'
,
select_list
:
[
"
confirmed_leaves_days_left
"
],
});
})
.
push
(
function
(
result
)
{
var
options
=
{};
if
(
result
.
data
.
total_rows
>
0
)
{
options
.
day_left
=
result
.
data
.
rows
[
0
].
value
.
confirmed_leaves_days_left
;
}
return
gadget
.
translateHtml
(
template
(
options
));
})
.
push
(
function
(
html
)
{
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.xml
View file @
3b5fb4ac
...
...
@@ -276,7 +276,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.11870.44460.28228
</string>
</value>
<value>
<string>
9
95.60736.17113.256
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -294,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
1
486546441.25
</float>
<float>
1
636047628.06
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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