%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="com.udapsoft.waf.system.*"%>
<%@ page import="com.udapsoft.waf.common.ui.*" %>
<%@ page import="com.udapsoft.waf.common.web.*" %>
<%@ page import="kr.co.hsnc.common.sql.*"%>
<%@ page import="kr.co.hsnc.common.util.*"%>
<%@ page import="kr.co.hsnc.common.sql.util.*"%>
<%@ page import="com.udapsoft.waf.system.HandlerStorage"%>
<%@ page import="kr.co.hsnc.common.util.ValueObject"%>
<%@ page import="kr.co.hsnc.common.message.WAFMessage"%>
<%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
<%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
<%@ page import="kr.co.udapsoft.common.util.PCMSUtil" %>
<%@ page import="kr.co.hsnc.common.util.Formatter"%>
<%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
<%
ctx.init(request, response);
String link = ctx.getServerDomain();
HandlerStorage storage = ctx.getHandlerStorage();
ValueObject params = storage.getParams();
WAFMessage wafMessage = WAFMessage.getInstance();
ValueObject payVo = storage.getValueObject("payList");
RowSet listRowSet = null;
listRowSet = storage.getRowSet("listRowSet");
RowSet purchaseFileRow = null;
purchaseFileRow = storage.getRowSet("purchaseFileRow");
//지급구분
String prepay_chk = "checked";
String mid_chk = "";
String rmdr_chk = "";
/* if(payVo.get("deposit_cd").equals("1")){
prepay_chk = "checked";
}else if(payVo.get("deposit_cd").equals("2")){
mid_chk = "checked";
}else if(payVo.get("deposit_cd").equals("3")){
rmdr_chk = "checked";
} */
RowSet rowSet = FileManager.getFileList("SUPP_PREPAYMENTS_GIVEUP", payVo.get("PREPAY_ID")); //외주 선급금 - 선급금 포기각서
RowSet rowSet2 = FileManager.getFileList("SUPP_TAX_BILL", payVo.get("PREPAY_ID")); //세금계산서
RowSet rowSet3 = FileManager.getFileList("INVOICE", payVo.get("PREPAY_ID")); //invoice
RowSet rowSet1 = FileManager.getFileList("SUPP_PREPAYMENTS_BILLING", payVo.get("PREPAY_ID")); //대금청구
String success_text = "";
// if(payVo.get("CUR_PAYED_AMT").replaceAll(",", "").equals(payVo.get("ORD_AMT").replaceAll(",", ""))){
// success_text = "-완료";
//success_text = "-최종";
// }
//if(payVo.get("REMAINDER_AMT").replaceAll(",", "").equals("0")){
// success_text = "-완료";
//success_text = "-최종";
//}
//int intDigit = 0;
%>
신청 선급금 합계 |
<%=payVo.get("REQ_PREPAY_AMT") %> (<%=payVo.get("REQ_PREPAY_PERCENT") %>%) |
포기 선급금 합계 |
<%=payVo.get("GIVE_AMT") %> (<%=payVo.get("GIVE_PERCENT") %>%) |
신청 선급금 과세 |
<%=payVo.get("REQ_PREPAY_SUPPLY_TAMT") %> |
포기 선급금 과세 |
<%=payVo.get("GIVE_SUPPLY_TAMT") %> |
신청 선급금 면세 |
<%=payVo.get("REQ_PREPAY_SUPPLY_NAMT") %> |
포기 선급금 면세 |
<%=payVo.get("GIVE_SUPPLY_NAMT") %> |
신청 선급금 부가세 |
<%=payVo.get("REQ_PREPAY_SURTAX_AMT") %> |
포기 선급금 부가세 |
<%=payVo.get("GIVE_SURTAX_AMT") %> |
첨부파일 |
<%
if(rowSet.size() > 0){
%>
선급금포기각서 |
<%
}else{
%>
선급금포기각서(해당없음) |
<%
}
%>
<%
if(rowSet.size() > 0){
for(int i = 0; rowSet.size() > i; i++){
if(rowSet.getRow(i).get("FILE_NAME").length() > 35){
%>
<%= rowSet.getRow(i).get("FILE_NAME").substring(0, 35)+"..."%>
<%= rowSet.getRow(i).get("FILE_EXT")%>
<%
}else{
%>
<%= rowSet.getRow(i).get("FILE_NAME")%>
<%
}
%>
( <%=rowSet.getRow(i).get("FILE_SIZE") %> )
<%
}
}
%>
|
');" class="button">
|
|
<%
if(rowSet2.size() > 0){
%>
세금계산서 |
<%
if(rowSet2.size() > 0){
for(int i = 0; rowSet2.size() > i; i++){
if(rowSet2.getRow(i).get("FILE_NAME").length() > 35){
%>
<%= rowSet2.getRow(i).get("FILE_NAME").substring(0, 35)+"..."%>
<%= rowSet2.getRow(i).get("FILE_EXT")%>
<%
}else{
%>
<%= rowSet2.getRow(i).get("FILE_NAME")%>
<%
}
%>
( <%=rowSet2.getRow(i).get("FILE_SIZE") %> )
<%
}
}
%>
|
');" class="button">
|
|
<%
}
%>
<%
if(rowSet3.size() > 0){
%>
Invoice |
<%
if(rowSet3.size() > 0){
for(int i = 0; rowSet3.size() > i; i++){
if(rowSet3.getRow(i).get("FILE_NAME").length() > 35){
%>
<%= rowSet3.getRow(i).get("FILE_NAME").substring(0, 35)+"..."%>
<%= rowSet3.getRow(i).get("FILE_EXT")%>
<%
}else{
%>
<%= rowSet3.getRow(i).get("FILE_NAME")%>
<%
}
%>
( <%=rowSet3.getRow(i).get("FILE_SIZE") %> )
<%
}
}
%>
|
');" class="button">
|
|
<%
}
%>
대금청구 |
<%
if(rowSet1.size() > 0){
for(int i = 0; rowSet1.size() > i; i++){
if(rowSet1.getRow(i).get("FILE_NAME").length() > 35){
%>
<%= rowSet1.getRow(i).get("FILE_NAME").substring(0, 35)+"..."%>
<%= rowSet1.getRow(i).get("FILE_EXT")%>
<%
}else{
%>
<%= rowSet1.getRow(i).get("FILE_NAME")%>
<%
}
%>
( <%=rowSet1.getRow(i).get("FILE_SIZE") %> )
<%
}
}
%>
|
');" class="button">
|
|
보증정보 |
|
');" class="button">
|
|
|
<%=params.get("docTitle") %> |