Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
service
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
1
Merge Requests
1
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
aimeiyue
service
Commits
572c84a0
Commit
572c84a0
authored
Oct 18, 2024
by
lizhilin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
918ea202
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
168 deletions
+0
-168
app/Store/Actions/Grid/IncomeApply.php
+0
-56
app/Store/Actions/Grid/RefundToExamine.php
+0
-56
app/Store/Actions/Grid/SendOutGoods.php
+0
-56
No files found.
app/Store/Actions/Grid/IncomeApply.php
deleted
100644 → 0
View file @
918ea202
<?php
namespace
App\Store\Actions\Grid
;
use
App\Store\Forms\IncomeApply
as
FormIncomeApply
;
use
Dcat\Admin\Grid\RowAction
;
use
Dcat\Admin\Traits\HasPermissions
;
use
Dcat\Admin\Widgets\Modal
;
use
Illuminate\Contracts\Auth\Authenticatable
;
use
Illuminate\Database\Eloquent\Model
;
class
IncomeApply
extends
RowAction
{
/**
* @return string
*/
protected
$title
=
'<button class="btn btn-custom disable-outline "> 申请提现 </button>'
;
public
function
render
()
{
$form
=
FormIncomeApply
::
make
();
return
Modal
::
make
()
->
lg
()
->
title
(
'申请提现'
)
->
body
(
$form
)
->
scrollable
(
true
)
->
button
(
$this
->
title
);
}
/**
* @return string|array|void
*/
public
function
confirm
()
{
// return ['Confirm?', 'contents'];
}
/**
* @param Model|Authenticatable|HasPermissions|null $user
*
* @return bool
*/
protected
function
authorize
(
$user
)
:
bool
{
return
true
;
}
/**
* @return array
*/
protected
function
parameters
()
{
return
[];
}
}
app/Store/Actions/Grid/RefundToExamine.php
deleted
100644 → 0
View file @
918ea202
<?php
namespace
App\Store\Actions\Grid
;
use
App\Store\Forms\RefundToExamine
as
FormRefundToExamine
;
use
Dcat\Admin\Grid\RowAction
;
use
Dcat\Admin\Traits\HasPermissions
;
use
Dcat\Admin\Widgets\Modal
;
use
Illuminate\Contracts\Auth\Authenticatable
;
use
Illuminate\Database\Eloquent\Model
;
class
RefundToExamine
extends
RowAction
{
/**
* @return string
*/
protected
$title
=
'<span>退款审核</span>'
;
public
function
render
()
{
$form
=
FormRefundToExamine
::
make
()
->
payload
([
'id'
=>
$this
->
getKey
()]);
return
Modal
::
make
()
->
lg
()
->
title
(
$this
->
title
)
->
body
(
$form
)
->
scrollable
(
true
)
->
button
(
$this
->
title
);
}
/**
* @return string|array|void
*/
public
function
confirm
()
{
// return ['Confirm?', 'contents'];
}
/**
* @param Model|Authenticatable|HasPermissions|null $user
*
* @return bool
*/
protected
function
authorize
(
$user
)
:
bool
{
return
true
;
}
/**
* @return array
*/
protected
function
parameters
()
{
return
[];
}
}
app/Store/Actions/Grid/SendOutGoods.php
deleted
100644 → 0
View file @
918ea202
<?php
namespace
App\Store\Actions\Grid
;
use
App\Store\Forms\SendOutGoods
as
FormSendOutGoods
;
use
Dcat\Admin\Grid\RowAction
;
use
Dcat\Admin\Traits\HasPermissions
;
use
Dcat\Admin\Widgets\Modal
;
use
Illuminate\Contracts\Auth\Authenticatable
;
use
Illuminate\Database\Eloquent\Model
;
class
SendOutGoods
extends
RowAction
{
/**
* @return string
*/
protected
$title
=
'<span>订单发货</span>'
;
public
function
render
()
{
$form
=
FormSendOutGoods
::
make
()
->
payload
([
'id'
=>
$this
->
getKey
()]);
return
Modal
::
make
()
->
lg
()
->
title
(
$this
->
title
)
->
body
(
$form
)
->
scrollable
(
true
)
->
button
(
$this
->
title
);
}
/**
* @return string|array|void
*/
public
function
confirm
()
{
// return ['Confirm?', 'contents'];
}
/**
* @param Model|Authenticatable|HasPermissions|null $user
*
* @return bool
*/
protected
function
authorize
(
$user
)
:
bool
{
return
true
;
}
/**
* @return array
*/
protected
function
parameters
()
{
return
[];
}
}
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