Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
Quotation Amendment
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
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
khushal samadhan chavan
Quotation Amendment
Commits
556aceb2
Commit
556aceb2
authored
Jul 07, 2025
by
khushal samadhan chavan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New Jsp File
parent
205aac3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
89 additions
and
0 deletions
+89
-0
Quotation Amendment/module-resources/Jsp/ApprovedRateOne.jsp
Quotation Amendment/module-resources/Jsp/ApprovedRateOne.jsp
+89
-0
No files found.
Quotation Amendment/module-resources/Jsp/ApprovedRateOne.jsp
0 → 100644
View file @
556aceb2
<%@ page
import=
"java.util.*, java.sql.*, java.util.ArrayList"
%>
<%@ page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%>
<%@ page
import=
"ibase.utility.UserInfoBean, ibase.webitm.ejb.vhb.msq1.ApprovedRateOne"
%>
<%
System
.
out
.
println
(
"@@@@@@@@ In ApprovedRateOne.jsp - Khushal @@@@@@@@@@@@@@@@"
);
UserInfoBean
userInfo
=
(
UserInfoBean
)
session
.
getAttribute
(
"USER_INFO"
);
if
(
userInfo
==
null
)
{
out
.
print
(
"
<
p
style
=
'
color:
red
;
'>
Invalid
session
.
Please
log
in
.</
p
>
");
return;
}
String itemCode = request.getParameter("
ITEM_CODE
") != null ? request.getParameter("
ITEM_CODE
") : "";
String quotNo1 = request.getParameter("
QUOT_NO
") != null ? request.getParameter("
QUOT_NO
") : "";
System.out.println("
@@@@@@@@
ITEM_CODE:
" + itemCode);
System.out.println("
@@@@@@@@
QUOT_NO:
" + quotNo1);
if (itemCode.trim().isEmpty()) {
out.print("
<
p
style
=
'
color:
red
;
'>
Item
code
is
missing
.</
p
>
");
return;
}
if (quotNo1.trim().isEmpty()) {
out.print("
<
p
style
=
'
color:
red
;
'>
Quotation
number
is
missing
.</
p
>"
);
return
;
}
HashMap
<
String
,
ArrayList
<
String
>>
approvedMap
=
null
;
try
{
ApprovedRateOne
approvedRateOne
=
new
ApprovedRateOne
(
userInfo
);
approvedMap
=
approvedRateOne
.
getLastThreeQuotationRates
(
itemCode
,
quotNo1
);
System
.
out
.
println
(
"approvedMap: "
+
approvedMap
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
out
.
print
(
"
<
p
style
=
'
color:
red
;
'>
Error
retrieving
approved
quotation
details:
" + e.getMessage() + "
</
p
>"
);
return
;
}
%>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Approved Quotation Details
</title>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/ibase/webitm/css/sidePanelDisplay.css"
>
</head>
<body>
<h2>
Approved Quotation Details
</h2>
<form>
<table
border=
"1"
class=
"itemtbl"
>
<tr>
<th>
Customer Code
</th>
<th>
Quotation No
</th>
<th>
Quotation Date
</th>
<th>
Item Code
</th>
<th>
Approved Rate
</th>
<th>
Quantity
</th>
</tr>
<%
if
(
approvedMap
!=
null
&&
!
approvedMap
.
isEmpty
())
{
for
(
Map
.
Entry
<
String
,
ArrayList
<
String
>>
entry
:
approvedMap
.
entrySet
())
{
ArrayList
<
String
>
values
=
entry
.
getValue
();
%>
<tr>
<%
for
(
String
value
:
values
)
{
%>
<td><%=
value
%></td>
<%
}
%>
</tr>
<%
}
}
else
{
%>
<tr>
<td
colspan=
"5"
style=
"color:red; text-align: center;"
>
No approved quotations found for the selected item code
&
quotation no .
</td>
</tr>
<%
}
%>
</table>
</form>
</body>
</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