세금계산서 자동발행 기능 오류 수정

- 개인 회원 후보자등록 정보가 없는 경우 세금계산서 자동발행 저장 시 오류 수정
 - 자동 발행 저장 후 화면에서 자동발행 정보 표시 오류 수정
This commit is contained in:
rosewiper 2023-12-27 12:55:31 +09:00
parent c5e2063a03
commit 1dfa0ce825
3 changed files with 11 additions and 6 deletions

View File

@ -3844,9 +3844,11 @@ public class MjonPayController {
MberManageVO tmpMberManageVO = mjonMsgDataService.selectMberManageInfo(mberId);
String dept = tmpMberManageVO.getDept();
if(dept.equals("p") && taxCNm != null && taxCNm.length() > 0) {
//후보자 정보 조회
MjonCandidateVO mjonCandidateVO = mjonCandidateService.selectCandidateDataInfo(mberId);
if(mjonCandidateVO != null && dept.equals("p") && taxCNm != null && taxCNm.length() > 0) {
MjonCandidateVO mjonCandidateVO = mjonCandidateService.selectCandidateDataInfo(mberId);
String candidateNm = mjonCandidateVO.getCandidateNm();
if(candidateNm != null && candidateNm.length() > 0) {

View File

@ -2717,8 +2717,6 @@ public class EgovUserManageController {
MberManageVO mberManageVO = mberManageService.selectMber(userManageVO.getMberId());
System.out.println(mberManageVO.getTaxbillAuto());
String taxbillAuto = mberManageVO.getTaxbillAuto();
if(taxbillAuto == null || taxbillAuto.equals("N")) {

View File

@ -23,6 +23,7 @@
<script type="text/javaScript" language="javascript">
$( document ).ready(function() {
//현금영수증 사업자번호 넣어주기
if("${mberManageVO.cashbillBizNo}" != ""){
//사업자번호 - 넣어주기
@ -452,6 +453,10 @@
$(window).on('load',function(){
$('.bill_content_wrap .bill_content').eq(0).show();
var billDept = $("input[name=billDepth]:checked");
billDepth(billDept);
});
function billDepth(obj){
@ -505,8 +510,8 @@
<div class="pay_cont current" id="tab1_1">
<div class="bill_tab">
<ul>
<li><input type="radio" name="billDepth" id="billDepth1" checked="checked" onchange="billDepth(this);" value="biz" /><label for="billDepth1">기업</label></li>
<li><input type="radio" name="billDepth" id="billDepth2" onchange="billDepth(this);" value="regi" /><label for="billDepth2">개인</label></li>
<li><input type="radio" name="billDepth" id="billDepth1" <c:if test="${mberManageVO.taxbillAuto eq 'B'}">checked="checked"</c:if> onchange="billDepth(this);" value="biz" /><label for="billDepth1">기업</label></li>
<li><input type="radio" name="billDepth" id="billDepth2" <c:if test="${mberManageVO.taxbillAuto eq 'C'}">checked="checked"</c:if> onchange="billDepth(this);" value="regi" /><label for="billDepth2">개인</label></li>
</ul>
<p>* 자동 발행은 기업/개인 중에 한 곳만 가능합니다.</p>
</div>