22 lines
555 B
PHP
22 lines
555 B
PHP
<?php
|
|
|
|
namespace App\Admin\Actions\Grid;
|
|
|
|
use App\Admin\Forms\DealerOrderRefuse as DealerOrderRefuseForm;
|
|
use Dcat\Admin\Grid\RowAction;
|
|
use Dcat\Admin\Widgets\Modal;
|
|
|
|
class DealerOrderRefuse extends RowAction
|
|
{
|
|
public function render()
|
|
{
|
|
$form = DealerOrderRefuseForm::make()->payload(['id' => $this->getKey()]);
|
|
|
|
return Modal::make()
|
|
->lg()
|
|
->title('拒绝收款')
|
|
->body($form)
|
|
->button('<i class="feather icon-x-circle grid-action-icon"></i> 拒绝收款 ');
|
|
}
|
|
}
|