RMH
SQLSTATE[HY000]: General error: 1364 Field 'guardian_id' doesn't have a default value
I have a StudentResource and in form I am doing this:
But while creating a new student I am getting this error
SQLSTATE[HY000]: General error: 1364 Field 'guardian_id' doesn't have a default value
7 replies
Trying to create bulk action to print invoices
I am trying to create a bulk action to print invoices/challans. I created a simple action with the help of https://github.com/chandraauliatama/InvoiceCreator and while creating a bulk action I am trying to do the same thing but instead of sending a single challan I am (doing something stupid maybe) trying to send a collection of challan in route.
the route is
Route::get('challans/print', [PrintController::class, 'many'])->name('print.challans');
and the function in controller is
And the list page does not load. it gives me TypeError
Is there any other way to do it? A bulk action for printing3 replies