|
@@ -151,6 +151,11 @@ func (v *EntnicheOrder) EntnicheOrderDetail(order_code string) error {
|
|
|
} else if applybill_status == 0 {
|
|
|
(*res)["applybill_status"] = "未申请"
|
|
|
}
|
|
|
+ //2020-4-22电子发票:徐志恒
|
|
|
+ data := cutil.Mysql.Find("invoice", qMap, "", "create_time", 0, 0)
|
|
|
+ if *data != nil && len(*data) != 0 {
|
|
|
+ (*res)["invoice"] = *data
|
|
|
+ }
|
|
|
//0个人 1单位
|
|
|
applybill_type := util.IntAll((*res)["applybill_type"])
|
|
|
if applybill_type == 1 {
|