You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
723 B
30 lines
723 B
<?php
|
|
|
|
|
|
namespace App\Admin\Lazys;
|
|
|
|
use App\Admin\Repositories\Withdrawal;
|
|
use App\Admin\Repositories\WithdrawalAlipay;
|
|
use App\Models\Demand;
|
|
use Dcat\Admin\Grid;
|
|
use Dcat\Admin\Grid\LazyRenderable;
|
|
use Dcat\Admin\Repositories\EloquentRepository;
|
|
use Dcat\Admin\Show;
|
|
|
|
|
|
class AlipayLazys extends LazyRenderable
|
|
{
|
|
public function grid(): Grid
|
|
{
|
|
return Grid::make(new WithdrawalAlipay(), function (Grid $grid) {
|
|
$grid->model()->where('withdrawal_id',$this->key);
|
|
$grid->column('id');
|
|
$grid->column('account','账户');
|
|
$grid->column('name','账户名称');
|
|
$grid->column('qrcode','收款码')->image();
|
|
$grid->disableActions();
|
|
$grid->disableRowSelector();
|
|
$grid->disablePagination();
|
|
});
|
|
}
|
|
}
|