관리자는 무조건 현금영수증 발급하도록 수정

This commit is contained in:
chicpro
2014-09-26 14:43:18 +09:00
parent 0709816c40
commit cb8c4ae16e
2 changed files with 11 additions and 15 deletions

View File

@ -531,8 +531,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
</td> </td>
</tr> </tr>
<?php <?php
if ($default['de_taxsave_use'] && $amount['미수'] == 0) { if ($od['od_misu'] == 0 && $od['od_receipt_price'] && ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체')) {
if ($od['od_receipt_price'] && ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체')) {
?> ?>
<tr> <tr>
<th scope="row">현금영수증</th> <th scope="row">현금영수증</th>
@ -569,7 +568,6 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
</tr> </tr>
<?php <?php
} }
}
?> ?>
</tbody> </tbody>
</table> </table>

View File

@ -174,7 +174,6 @@ if(!sql_query(" select pp_cash from {$g5['g5_shop_personalpay_table']} limit 1 "
</td> </td>
</tr> </tr>
<?php <?php
if ($default['de_taxsave_use']) {
$is_cash_receipt = true; $is_cash_receipt = true;
// 주문내역이 있으면 현금영수증 발급하지 않음 // 주문내역이 있으면 현금영수증 발급하지 않음
@ -225,7 +224,6 @@ if(!sql_query(" select pp_cash from {$g5['g5_shop_personalpay_table']} limit 1 "
<?php <?php
} }
} }
}
?> ?>
<?php } ?> <?php } ?>
<tr> <tr>