Commit 093cfe95 by 朱继来

调整公司名称

parent 6aab7136
Showing with 2 additions and 0 deletions
......@@ -96,6 +96,8 @@ function getInvoiceStatus($order_id)
// 发票抬头 -> 公司
function getCompanyName($order_id, $user_id)
{
if (!$user_id) return false;
$order_invoice = DB::connection('order')->table('lie_order_invoice')->where(['order_id'=>$order_id])->select('tax_title', 'inv_type')->first();
if ($order_invoice && $order_invoice->inv_type != 1) return $order_invoice->tax_title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment