Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
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
Romain Courteaud
slapos.core
Commits
c925e396
Commit
c925e396
authored
Sep 22, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_before_deletion: drop gadget_erp5_page_slap_cloud_contract_view_js
parent
77d24799
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
904 deletions
+0
-904
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_html.html
...odule/gadget_erp5_page_slap_cloud_contract_view_html.html
+0
-31
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_html.xml
...module/gadget_erp5_page_slap_cloud_contract_view_html.xml
+0
-340
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_js.js
...ge_module/gadget_erp5_page_slap_cloud_contract_view_js.js
+0
-182
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_js.xml
...e_module/gadget_erp5_page_slap_cloud_contract_view_js.xml
+0
-347
master/bt5/slapos_jio_before_deletion/bt/template_keep_last_workflow_history_only_path_list
...ion/bt/template_keep_last_workflow_history_only_path_list
+0
-2
master/bt5/slapos_jio_before_deletion/bt/template_path_list
master/bt5/slapos_jio_before_deletion/bt/template_path_list
+0
-2
No files found.
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_html.html
deleted
100644 → 0
View file @
77d24799
<!DOCTYPE html>
<html>
<!--
data-i18n=Your Account
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no"
/>
<title>
Site List
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_slapos_utils.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_erp5_page_slap_cloud_contract_view.js"
type=
"text/javascript"
></script>
</head>
<body>
<form
class=
"save_form ui-body-c"
novalidate
>
<button
type=
"submit"
class=
"ui-btn ui-btn-b ui-btn-inline
ui-icon-edit ui-btn-icon-right ui-screen-hidden"
></button>
<div
data-gadget-url=
"gadget_erp5_form.html"
data-gadget-scope=
"form_view"
data-gadget-sandbox=
"public"
>
</div>
</form>
</body>
</html>
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_html.xml
deleted
100644 → 0
View file @
77d24799
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_js.js
deleted
100644 → 0
View file @
77d24799
/*global window, rJS, RSVP, jIO, Blob */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updatePanel
"
,
"
updatePanel
"
)
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
updateDocument
"
,
"
updateDocument
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
jio_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
jio_put
"
,
"
jio_put
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
getTranslationList
"
,
"
getTranslationList
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
return
gadget
.
jio_allDocs
(
param_list
[
0
])
.
push
(
function
(
result
)
{
var
i
,
value
,
len
=
result
.
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
price_currency_title
"
)))
{
value
=
result
.
data
.
rows
[
i
].
value
.
price_currency_title
;
result
.
data
.
rows
[
i
].
value
.
price_currency_title
=
{
field_gadget_param
:
{
css_class
:
""
,
"
default
"
:
value
,
key
:
"
status
"
,
editable
:
1
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
gadget
.
title_translation
,
type
:
"
GadgetField
"
}
};
value
=
result
.
data
.
rows
[
i
].
value
.
maximum_invoice_credit
;
result
.
data
.
rows
[
i
].
value
.
maximum_invoice_credit
=
{
field_gadget_param
:
{
css_class
:
""
,
"
default
"
:
value
?
value
.
toString
()
:
"
0.0
"
,
key
:
"
status
"
,
editable
:
1
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
gadget
.
title_translation
,
type
:
"
GadgetField
"
}
};
value
=
result
.
data
.
rows
[
i
].
value
.
CloudContractLine_getRemainingInvoiceCredit
;
result
.
data
.
rows
[
i
].
value
.
CloudContractLine_getRemainingInvoiceCredit
=
{
field_gadget_param
:
{
css_class
:
""
,
"
default
"
:
value
?
value
.
toString
()
:
"
0.0
"
,
key
:
"
status
"
,
editable
:
1
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
gadget
.
title_translation
,
type
:
"
GadgetField
"
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
value
:
2713
};
}
}
return
result
;
});
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
render
"
,
function
(
options
)
{
return
this
.
changeState
({
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
,
editable
:
1
});
})
.
onStateChange
(
function
()
{
var
gadget
=
this
,
translation_list
=
[
"
Maximum Invoice Delay
"
,
"
Maximum Credit
"
,
"
Cloud Contract
"
,
"
Currency
"
,
"
Maximum Credit per Currency
"
,
"
Remaining Credit
"
];
return
gadget
.
getSetting
(
"
hateoas_url
"
)
.
push
(
function
(
url
)
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
),
gadget
.
getTranslationList
(
translation_list
)
]);
})
.
push
(
function
(
result
)
{
gadget
.
account_translation
=
result
[
1
][
2
];
var
form_gadget
=
result
[
0
],
column_list
=
[
[
'
price_currency_title
'
,
result
[
1
][
3
]],
[
'
maximum_invoice_credit
'
,
result
[
1
][
1
]],
[
'
CloudContractLine_getRemainingInvoiceCredit
'
,
result
[
1
][
5
]]
];
return
form_gadget
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
my_maximum_invoice_delay
"
:
{
"
description
"
:
""
,
"
title
"
:
result
[
1
][
0
],
"
default
"
:
gadget
.
state
.
doc
.
maximum_invoice_delay
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
editable
"
:
0
,
"
key
"
:
"
maximum_invoice_delay
"
,
"
hidden
"
:
0
,
"
type
"
:
"
FloatField
"
},
"
listbox
"
:
{
"
column_list
"
:
column_list
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
1
,
"
editable_column_list
"
:
[],
"
key
"
:
"
slap_cloud_contract_line_listbox
"
,
"
lines
"
:
20
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=%28portal_type%3A%28%22
"
+
"
Cloud Contract Line
"
+
"
%22%29%29
"
,
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[],
"
title
"
:
result
[
1
][
4
],
"
type
"
:
"
ListBox
"
}
}},
"
_links
"
:
{
"
type
"
:
{
// form_list display portal_type in header
name
:
""
}
}
},
form_definition
:
{
group_list
:
[[
"
left
"
,
[[
"
my_maximum_invoice_delay
"
]]
],
[
"
bottom
"
,
[[
"
listbox
"
]]
]]
}
});
})
.
push
(
function
()
{
return
gadget
.
updatePanel
({
jio_key
:
false
});
})
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
'
slap_person_view
'
,
jio_key
:
''
}
})
]);
})
.
push
(
function
(
result
)
{
var
header_dict
=
{
page_title
:
gadget
.
account_translation
+
"
:
"
+
gadget
.
state
.
doc
.
destination_section_title
,
selection_url
:
result
[
0
]
};
return
gadget
.
updateHeader
(
header_dict
);
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
master/bt5/slapos_jio_before_deletion/PathTemplateItem/web_page_module/gadget_erp5_page_slap_cloud_contract_view_js.xml
deleted
100644 → 0
View file @
77d24799
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio_before_deletion/bt/template_keep_last_workflow_history_only_path_list
View file @
c925e396
image_module/gadget_slapos_invoice_logo_png
image_module/gadget_slapos_invoice_logo_png
image_module/gadget_slapos_panel_png
image_module/gadget_slapos_panel_png
web_page_module/gadget_erp5_page_slap_cloud_contract_view_html
web_page_module/gadget_erp5_page_slap_cloud_contract_view_js
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_html
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_html
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_js
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_js
web_page_module/gadget_erp5_page_slap_request_contract_activation_html
web_page_module/gadget_erp5_page_slap_request_contract_activation_html
...
...
master/bt5/slapos_jio_before_deletion/bt/template_path_list
View file @
c925e396
image_module/gadget_slapos_invoice_logo_png
image_module/gadget_slapos_invoice_logo_png
image_module/gadget_slapos_panel_png
image_module/gadget_slapos_panel_png
web_page_module/gadget_erp5_page_slap_cloud_contract_view_html
web_page_module/gadget_erp5_page_slap_cloud_contract_view_js
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_html
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_html
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_js
web_page_module/gadget_erp5_page_slap_reject_upgrade_decision_js
web_page_module/gadget_erp5_page_slap_request_contract_activation_html
web_page_module/gadget_erp5_page_slap_request_contract_activation_html
...
...
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