영카트5에서 사용자가 현금영수증 발급버튼이 출력되지 않는 오류 수정

This commit is contained in:
thisgun
2026-01-26 09:33:19 +00:00
parent f2ab751e5f
commit 0e06b4f9ce
2 changed files with 4 additions and 4 deletions

View File

@ -410,13 +410,13 @@ if($od['od_pg'] == 'lg') {
// 현금영수증 발급을 사용하는 경우에만 // 현금영수증 발급을 사용하는 경우에만
if ((function_exists('shop_is_taxsave') && shop_is_taxsave($od)) || (function_exists('is_order_cashreceipt') && is_order_cashreceipt($od))) { if ((function_exists('shop_is_taxsave') && shop_is_taxsave($od)) || (function_exists('is_order_cashreceipt') && is_order_cashreceipt($od))) {
// 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다. // 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다.
if ($misu_price == 0 && is_order_cashreceipt($od)) { if ($misu_price == 0) {
?> ?>
<tr> <tr>
<th scope="row">현금영수증</th> <th scope="row">현금영수증</th>
<td> <td>
<?php <?php
if ($od['od_cash']) if ($od['od_cash'] && is_order_cashreceipt($od))
{ {
if($od['od_pg'] == 'lg') { if($od['od_pg'] == 'lg') {
require_once G5_SHOP_PATH.'/settle_lg.inc.php'; require_once G5_SHOP_PATH.'/settle_lg.inc.php';

View File

@ -536,13 +536,13 @@ if($od['od_pg'] == 'lg') {
// 현금영수증 발급을 사용하는 경우 또는 현금영수증 발급을 한 주문건이면 // 현금영수증 발급을 사용하는 경우 또는 현금영수증 발급을 한 주문건이면
if ((function_exists('shop_is_taxsave') && shop_is_taxsave($od)) || (function_exists('is_order_cashreceipt') && is_order_cashreceipt($od))) { if ((function_exists('shop_is_taxsave') && shop_is_taxsave($od)) || (function_exists('is_order_cashreceipt') && is_order_cashreceipt($od))) {
// 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다. // 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다.
if ($misu_price == 0 && is_order_cashreceipt($od)) { if ($misu_price == 0) {
?> ?>
<li> <li>
<strong class="letter-2px">현금영수증</strong> <strong class="letter-2px">현금영수증</strong>
<span> <span>
<?php <?php
if ($od['od_cash']) if ($od['od_cash'] && is_order_cashreceipt($od))
{ {
if($od['od_pg'] == 'lg') { if($od['od_pg'] == 'lg') {
require_once G5_SHOP_PATH.'/settle_lg.inc.php'; require_once G5_SHOP_PATH.'/settle_lg.inc.php';