切换导航条
此项目
正在载入...
登录
王智
/
spare
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王智
5 years ago
提交
cd2ad2fc2cc6b6221050cf30aa1054ae395cb865
1 个父辈
410c7e3f
222
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
application/api/controller/Invoice.php
application/api/controller/Invoice.php
查看文件 @
cd2ad2f
...
...
@@ -124,6 +124,7 @@ class Invoice extends Api
public
function
InvoiceDataRendering
()
{
$user_id
=
$this
->
is_token
(
$this
->
request
->
header
());
$selectedOptionszero
=
input
(
'selectedOptionszero'
);
$is_company
=
Db
::
name
(
'company'
)
->
where
([
'company_holder'
=>
$user_id
])
->
where
([
'status'
=>
1
])
->
value
(
'id'
);
if
(
empty
(
$is_company
))
{
$is_team
=
Db
::
name
(
'team'
)
->
where
([
'user_id'
=>
$user_id
])
->
where
([
'status'
=>
1
])
->
value
(
'company_id'
);
...
...
@@ -161,7 +162,7 @@ class Invoice extends Api
'address'
=>
$ziliao
[
'address'
],
'address_con'
=>
$ziliao
[
'address_con'
],
'invoice_head'
=>
$ziliao
[
'invoice_head'
],
'selectedOptionszero'
=>
$
ziliao
[
'selectedOptionszero'
]
'selectedOptionszero'
=>
$
selectedOptionszero
];
}
$return
[
'company_list'
]
=
$company_list
;
...
...
请
注册
或
登录
后发表评论