issue #5904 fixed
This commit is contained in:
parent
86eafafeba
commit
654dfd9d92
|
|
@ -44,6 +44,10 @@ class TaxRateController extends Controller
|
||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
|
if (request()->ajax()) {
|
||||||
|
return app(TaxRateDataGrid::class)->toJson();
|
||||||
|
}
|
||||||
|
|
||||||
return view($this->_config['view']);
|
return view($this->_config['view']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue