23 lines
609 B
PHP
23 lines
609 B
PHP
<?php
|
|
|
|
namespace App\Admin\Actions\Show;
|
|
|
|
use Dcat\Admin\Show\AbstractTool;
|
|
use Dcat\Admin\Widgets\Modal;
|
|
use App\Admin\Forms\ProfitSuccessForm;
|
|
|
|
class ProfitSuccess extends AbstractTool
|
|
{
|
|
protected $title = '支付';
|
|
|
|
public function html()
|
|
{
|
|
$form = ProfitSuccessForm::make()->payload(['id'=>$this->getKey()]);;
|
|
return Modal::make()
|
|
->lg()
|
|
->title($this->title)
|
|
->body($form)
|
|
->button("<a href=\"javascript:void(0)\" class=\"btn btn-sm btn-success\"><i class=\"feather icon-check\"></i> {$this->title}</a> ");
|
|
}
|
|
}
|