Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
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
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gagandeep Singh Bhatia
Component Sharing
Commits
f352605c
Commit
f352605c
authored
Apr 09, 2025
by
Ajit Deshmukh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
d37f32da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
235 additions
and
0 deletions
+235
-0
Ajit/08-APR-25/ser_request_iti_xsl.xsl
Ajit/08-APR-25/ser_request_iti_xsl.xsl
+235
-0
No files found.
Ajit/08-APR-25/ser_request_iti_xsl.xsl
0 → 100644
View file @
f352605c
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:template
match=
"/"
>
<html>
<head>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/scheduler/js/date-picker.js"
></SCRIPT>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/webitm/js/ValidateDate.js"
></SCRIPT>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/qms/js/DateValidator.js"
></SCRIPT>
<script
language=
"JavaScript"
type=
"text/javascript"
>
</script>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/webitm/js/EmpResignationPortal.js"
></SCRIPT>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/webitm/js/ComplainFeedback.js"
></SCRIPT>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
src=
"/ibase/webitm/js/StatelessItemChange.js"
></SCRIPT>
<SCRIPT
language=
"Javascript"
type=
"text/javascript"
>
function openTransaction() {
//alert("Opening Transaction");
console.log("Opening Transaction");
var data = {
"actionInfo": "data",
"pkFieldValue": "pkFieldValue",
"objName": "obj_name",
"isAnyRowSelected": true,
"feedData": "jsonStr"
}
invokeDashboardLink(data);
}
</SCRIPT>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/E12MOBILE/css/workflowsign.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/E12MOBILE/css/expandy.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/webitm/css/fonts.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/E12MOBILE/css/hr_portal1.css"
/>
</head>
<body>
<INPUT
type=
"hidden"
name=
"OBJ_NAME"
id=
"OBJ_NAME"
value=
'ser_request'
/>
<INPUT
type=
'hidden'
name=
'OBJ_CONTEXT'
value=
'1'
/>
<INPUT
type=
'hidden'
name=
'EDIT_FLAG'
value=
'A'
/>
<INPUT
type=
'hidden'
name=
'DOM_ID'
value=
'{@domID}'
/>
<INPUT
type=
'hidden'
name=
'DB_ID'
value=
'{@dbID}'
/>
<xsl:for-each
select=
"//Detail1"
>
<xsl:variable
name=
"dbID"
>
<xsl:value-of
select=
"@dbID"
/>
</xsl:variable>
<xsl:variable
name=
"req_id"
>
<xsl:value-of
select=
"req_id"
/>
</xsl:variable>
<xsl:variable
name=
"req_date"
>
<xsl:value-of
select=
"req_date"
/>
</xsl:variable>
<xsl:variable
name=
"cust_name"
>
<xsl:value-of
select=
"cust_name"
/>
</xsl:variable>
<xsl:variable
name=
"request_via"
>
<xsl:value-of
select=
"request_via"
/>
</xsl:variable>
<xsl:variable
name=
"item_ser"
>
<xsl:value-of
select=
"item_ser"
/>
</xsl:variable>
<xsl:variable
name=
"itemser_descr"
>
<xsl:value-of
select=
"itemser_descr"
/>
</xsl:variable>
<xsl:variable
name=
"item_descr"
>
<xsl:value-of
select=
"item_descr"
/>
</xsl:variable>
<xsl:variable
name=
"lot_no"
>
<xsl:value-of
select=
"lot_no"
/>
</xsl:variable>
<xsl:variable
name=
"ticket_no"
>
<xsl:value-of
select=
"ticket_no"
/>
</xsl:variable>
<xsl:variable
name=
"ser_basis"
>
<xsl:value-of
select=
"ser_basis"
/>
</xsl:variable>
<xsl:variable
name=
"emp_code"
>
<xsl:value-of
select=
"emp_code"
/>
</xsl:variable>
<xsl:variable
name=
"std_time"
>
<xsl:value-of
select=
"std_time"
/>
</xsl:variable>
<xsl:variable
name=
"emp_name"
>
<xsl:value-of
select=
"emp_name"
/>
</xsl:variable>
<xsl:variable
name=
"chg_user"
>
<xsl:value-of
select=
"chg_user"
/>
</xsl:variable>
<xsl:variable
name=
"req_type"
>
<xsl:value-of
select=
"req_type"
/>
</xsl:variable>
<xsl:variable
name=
"comp_stat"
>
<xsl:value-of
select=
"comp_stat"
/>
</xsl:variable>
<xsl:variable
name=
"request_id"
>
<xsl:value-of
select=
"request_id"
/>
</xsl:variable>
<xsl:variable
name=
"descr"
>
<xsl:value-of
select=
"descr"
/>
</xsl:variable>
<xsl:variable
name=
"serial_no"
>
<xsl:value-of
select=
"serial_no"
/>
</xsl:variable>
<input
type=
"hidden"
id=
"assetCode"
value=
"{serial_no}"
/>
<div
style=
"overflow-x: scroll; width:98%"
>
<!-- Feedback Button at Top Right -->
<div
style=
"width: 98%; overflow-x: auto; position: relative; margin: 2px"
>
<div
style=
"position: absolute; top: 5px; right: -20px;"
>
<button
type=
"button"
style=
"padding:8px 12px; background-color:#e8f0f9; color:#1C4587; border:none; border-radius:4px; cursor:pointer; font-weight:bold; margin-right: 59px;
margin-top: 6px;"
onClick=
"openTransaction() "
>
Feedback
</button>
</div>
<div
style=
"display: flex; justify-content: center; align-items: center; padding: 22px;"
>
<img
id=
"documentImage"
style=
"display: none; width: auto; height: 400px;"
alt=
"Document Image"
></img>
</div>
<!-- Transfer Details Section -->
<div
style=
"font-weight: bold; padding: 11px; border-top: #f9f9f9 3px solid;"
>
Complaint Details
</div>
<div
style=
"display: flex; gap: 20px; flex-wrap: wrap;"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"field"
>
Complain No:
<span
class=
"value"
><xsl:value-of
select=
"req_id"
/></span></div>
<div
class=
"field"
>
Submitted By:
<span
class=
"value"
><xsl:value-of
select=
"chg_user"
/></span></div>
<div
class=
"field"
>
Complain Type:
<span
class=
"value"
><xsl:value-of
select=
"descr"
/></span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"field"
>
Description:
<span
class=
"value"
><xsl:value-of
select=
"dtl_descr"
/></span></div>
</div>
</div>
</div>
<!-- Asset Details Section -->
<div
style=
"font-weight: bold; padding: 11px; border-top: #f9f9f9 3px solid;"
>
Asset Details
</div>
<div
style=
"display: flex; gap: 20px; flex-wrap: wrap;"
>
<div
class=
"container"
>
<!-- Asset Details Here -->
<div
id=
"assetDetailsContainer"
>
</div>
</div>
</div>
<div>
</div>
</div>
<style>
.container {
width: 100%;
}
.row {
display: flex;
justify-content: space-between;
width: 100%;
margin-bottom: 12px;
/* Space between rows */
}
.field {
flex: 1;
font-weight: bold;
padding: 10px;
background-color: #ebf2fb;
border-radius: 8px;
display: flex;
justify-content: space-between;
white-space: nowrap;
margin-right: 15px;
/* Space between fields */
}
.field:last-child {
margin-right: 0;
/* Remove margin for last field */
}
.value {
font-weight: normal;
text-align: right;
flex: 1;
}
</style>
</div>
<script
src=
"/ibase/E12MOBILE/js/jquery-1.11.1.min.js"
></script>
<script
src=
"/ibase/E12MOBILE/js/expandy.min.js"
></script>
<script>
var assetCode = "
<xsl:value-of
select=
'serial_no'
/>
";
</script>
<script>
$('.container1').makeExpander({
toggleElement: 'h2',
jqAnim: true,
showFirst: false,
accordion: true,
speed: 400,
/*indicator:
'triangle'*/
});
$('.container2').makeExpander({
toggleElement: 'h2',
jqAnim: true,
showFirst: true,
accordion: false,
speed: 400,
indicator: 'plusminus'
});
$('.container3').makeExpander({
toggleElement: 'h2',
jqAnim: true,
showFirst: true,
accordion: false,
speed: 1400,
indicator: 'arrow'
});
</script>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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