fix: 거래 세부 내역 '수금' 필드를 '공급가액'으로 변경 및 부가세 표시 추가
- 부정확한 '수금' 레이블을 '공급가액'으로 수정 - 부가세 (SL_MY_rec_vat) 필드 추가 조회 및 표시 - 공급가액 + 부가세 = 판매 금액 구조로 명확화 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -391,6 +391,7 @@ def admin_transaction_detail(transaction_id):
|
||||
SL_MY_sale,
|
||||
SL_MY_credit,
|
||||
SL_MY_recive,
|
||||
SL_MY_rec_vat,
|
||||
ISNULL(SL_NM_custom, '[비고객]') AS customer_name
|
||||
FROM SALE_MAIN
|
||||
WHERE SL_NO_order = :transaction_id
|
||||
@@ -430,7 +431,8 @@ def admin_transaction_detail(transaction_id):
|
||||
'discount': int(sale_main.SL_MY_discount or 0),
|
||||
'sale_amount': int(sale_main.SL_MY_sale or 0),
|
||||
'credit': int(sale_main.SL_MY_credit or 0),
|
||||
'received': int(sale_main.SL_MY_recive or 0),
|
||||
'supply_value': int(sale_main.SL_MY_recive or 0),
|
||||
'vat': int(sale_main.SL_MY_rec_vat or 0),
|
||||
'customer_name': sale_main.customer_name
|
||||
},
|
||||
'items': [
|
||||
|
||||
Reference in New Issue
Block a user