We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Into Administrator I want to add to filter through a scope, but not working. My idea is to consult all records with idAdministrator equal to 2.
Model
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Into Administrator I want to add to filter through a scope, but not working. My idea is to consult all records with idAdministrator equal to 2.
Model
where('idAdministrator','=',$type); } ``` } Admin title('Parqueadero')->with()->filters(function () { ModelItem::filter('idAdmin')->scope('idAdmin')->value('2'); })->columns(function (){ Column::string('idParking', 'ID'); Column::string('nameParking', 'NOMBRE'); Column::string('addressParking', 'DIRECCION'); Column::string('costPerReservation', 'COSTO X MIN'); Column::string('status', 'ESTADO'); })->form(function () { FormItem::text('nameParking', 'NOMBRE DEL PARQUEADERO'); FormItem::text('addressParking', 'DIRECCION'); FormItem::text('telephone', 'TELEFONO'); FormItem::text('movilphone', 'CELULAR'); FormItem::text('latitud', 'LATITUD'); FormItem::text('longitud', 'LONGITUD'); FormItem::text('total', 'TOTAL PARQUEADEROS'); FormItem::text('costPerReservation', 'COSTO X MIN'); FormItem::checkbox('status', 'ESTADO'); });The text was updated successfully, but these errors were encountered: