id; $grid->payment_method; $grid->receiving_account; $grid->note; $grid->payment_image->image('', 50, 50); $grid->created_at; $grid->updated_at; }); } /** * Make a show builder. * * @param mixed $id * * @return Show */ protected function detail($id) { return Show::make($id, new UserPaymentMethod(), function (Show $show) { $show->id; $show->payment_method; $show->receiving_account; $show->payment_image; $show->note; $show->created_at; $show->updated_at; }); } /** * Make a form builder. * * @return Form */ protected function form() { return Form::make(new UserPaymentMethod(), function (Form $form) { $form->display('id'); $form->text('payment_method'); $form->text('note'); $form->text('receiving_account'); $form->image('payment_image')->autoUpload(); }); } }