Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvsuo-pc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhilin
lvsuo-pc
Commits
fc773c95
Commit
fc773c95
authored
Dec 05, 2024
by
lizhilin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
78f7c207
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
app/Admin/Controllers/ViewCovenantInvoicedController.php
+2
-3
app/Admin/Controllers/ViewCovenantReceivedController.php
+2
-3
No files found.
app/Admin/Controllers/ViewCovenantInvoicedController.php
View file @
fc773c95
...
@@ -42,7 +42,7 @@ protected function grid()
...
@@ -42,7 +42,7 @@ protected function grid()
// 按钮
// 按钮
->
button
(
'<button class="btn btn-primary"><i class="feather icon-plus"></i> 新增</button>'
)
->
button
(
'<button class="btn btn-primary"><i class="feather icon-plus"></i> 新增</button>'
)
// 弹窗内容
// 弹窗内容
->
body
(
CovenantInvoiceForm
::
make
()
->
payload
([
'id'
=>
$cid
])));
->
body
(
CovenantInvoiceForm
::
make
()
->
payload
([
'
c
id'
=>
$cid
])));
});
});
}
}
$grid
->
model
()
->
where
(
'lawyer_id'
,
$lawyer_id
)
->
where
(
'rtype'
,
2
)
->
orderBy
(
"id"
,
"desc"
);
$grid
->
model
()
->
where
(
'lawyer_id'
,
$lawyer_id
)
->
where
(
'rtype'
,
2
)
->
orderBy
(
"id"
,
"desc"
);
...
@@ -59,8 +59,7 @@ protected function grid()
...
@@ -59,8 +59,7 @@ protected function grid()
$principal
=
$number
=
''
;
$principal
=
$number
=
''
;
if
(
$cid
)
{
if
(
$cid
)
{
$cobj
=
ModelsCovenant
::
find
(
$cid
);
$cobj
=
ModelsCovenant
::
find
(
$cid
);
$pObj
=
ModelsPrincipal
::
find
(
$cobj
->
principal_id
);
$principal
=
$cobj
->
principal
;
$principal
=
$pObj
->
name
;
$number
=
$cobj
->
number
;
$number
=
$cobj
->
number
;
}
}
$card_info
=
" 合同编号:
{
$number
}
委托人:
{
$principal
}
"
;
$card_info
=
" 合同编号:
{
$number
}
委托人:
{
$principal
}
"
;
...
...
app/Admin/Controllers/ViewCovenantReceivedController.php
View file @
fc773c95
...
@@ -45,7 +45,7 @@ protected function grid()
...
@@ -45,7 +45,7 @@ protected function grid()
// 按钮
// 按钮
->
button
(
'<button class="btn btn-primary"><i class="feather icon-plus"></i> 新增</button>'
)
->
button
(
'<button class="btn btn-primary"><i class="feather icon-plus"></i> 新增</button>'
)
// 弹窗内容
// 弹窗内容
->
body
(
CovenantReceiveForm
::
make
()
->
payload
([
'id'
=>
$cid
])));
->
body
(
CovenantReceiveForm
::
make
()
->
payload
([
'
c
id'
=>
$cid
])));
}
}
});
});
...
@@ -70,8 +70,7 @@ protected function grid()
...
@@ -70,8 +70,7 @@ protected function grid()
$invoiced_money
=
$received_money
=
$received_noinvoiced
=
$invoiced_noreceived
=
0
;
$invoiced_money
=
$received_money
=
$received_noinvoiced
=
$invoiced_noreceived
=
0
;
if
(
$cid
)
{
if
(
$cid
)
{
$cobj
=
ModelsCovenant
::
find
(
$cid
);
$cobj
=
ModelsCovenant
::
find
(
$cid
);
$pObj
=
ModelsPrincipal
::
find
(
$cobj
->
principal_id
);
$principal
=
$cobj
->
principal
;
$principal
=
$pObj
->
name
;
$cnumber
=
$cobj
->
number
;
$cnumber
=
$cobj
->
number
;
$lobj
=
ModelsLawyer
::
find
(
$cobj
->
lawyer_id
);
$lobj
=
ModelsLawyer
::
find
(
$cobj
->
lawyer_id
);
$lnumber
=
$lobj
->
number
;
$lnumber
=
$lobj
->
number
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment