This commit is contained in:
prateek srivastava 2022-03-01 16:53:27 +05:30
parent 86eafafeba
commit 654dfd9d92
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ class TaxRateController extends Controller
*/
public function index()
{
if (request()->ajax()) {
return app(TaxRateDataGrid::class)->toJson();
}
return view($this->_config['view']);
}