mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-06 04:36:24 +08:00
fix(ECX-8150): pass individual title when submitting personal invoice
Use individual_title for company_title param when invoice_type is not enterprise instead of empty string so backend receives the correct personal invoice title. Made-with: Cursor
This commit is contained in:
@@ -163,7 +163,7 @@ function Invoice(props) {
|
||||
invoice_type_code: info?.invoice_type_code,
|
||||
invoice_type: info?.invoice_type,
|
||||
company_title:
|
||||
info?.invoice_type == 'enterprise' ? info?.company_title : '',
|
||||
info?.invoice_type == 'enterprise' ? info?.company_title : info?.individual_title,
|
||||
email: info?.email
|
||||
}
|
||||
if (params.invoice_type === 'enterprise') {
|
||||
|
||||
Reference in New Issue
Block a user