newTable() ->editColumn('currency_name', function ($currencyRate) { return Currency::name($currencyRate->currency); }) ->editColumn('updated_at', function ($currencyRate) { return view('admin::partials.table.date')->with('date', $currencyRate->updated_at); }); } }