Which invoice are you trying to print?

|
YOUCODEWORLD 2021-05-31 19:19:39
SureshLaraDev 2021-05-31 19:19:02
If problem is with my foreign id.. Why it gets migrated when using onDelete(‘cascade’)

you try ->nullOnDelete()

SureshLaraDev 2021-05-31 19:19:54
Ok bro. Lemme try
SureshLaraDev 2021-05-31 19:20:11
Might be some bug
YOUCODEWORLD 2021-05-31 19:20:40
Wait i chek
SureshLaraDev 2021-05-31 19:20:57
Ok bro
YOUCODEWORLD 2021-05-31 19:25:11
SureshLaraDev 2021-05-31 19:20:57
Ok bro

You try ->nullable()
->constrained()
->onDelete(‘set null’);

SureshLaraDev 2021-05-31 19:26:23
Lemme give a try now
SureshLaraDev 2021-05-31 19:29:29
Nope didn’t work brom
YOUCODEWORLD 2021-05-31 19:30:37
SureshLaraDev 2021-05-31 19:26:23
Lemme give a try now

If don’t working you try directly ->onDelete(DB::raw(‘set null’));

SureshLaraDev 2021-05-31 19:30:48
YOUCODEWORLD 2021-05-31 19:25:11
You try ->nullable()
->constrained()
->onDelete(‘set null’);

Lol.. Giving me crazy results.

SureshLaraDev 2021-05-31 19:30:59
YOUCODEWORLD 2021-05-31 19:30:37
If don’t working you try directly ->onDelete(DB::raw(‘set null’));

Ok lemme try

SureshLaraDev 2021-05-31 19:31:57
YOUCODEWORLD 2021-05-31 19:30:37
If don’t working you try directly ->onDelete(DB::raw(‘set null’));

Same results

YOUCODEWORLD 2021-05-31 19:32:18
Migrate error?
SureshLaraDev 2021-05-31 19:32:27
Oooo.
SureshLaraDev 2021-05-31 19:32:44
Wait I think I sorted it out.
SureshLaraDev 2021-05-31 19:33:05
YOUCODEWORLD 2021-05-31 19:25:11
You try ->nullable()
->constrained()
->onDelete(‘set null’);

This must work.

SureshLaraDev 2021-05-31 19:33:16
Like you said.
SureshLaraDev 2021-05-31 19:33:33
SureshLaraDev 2021-05-31 19:32:44
Wait I think I sorted it out.

Actually You..

YOUCODEWORLD 2021-05-31 19:34:06
I try all working . Laravel 8
SureshLaraDev 2021-05-31 19:34:16
YOUCODEWORLD 2021-05-31 19:25:11
You try ->nullable()
->constrained()
->onDelete(‘set null’);

Bingo.

SureshLaraDev 2021-05-31 19:35:07
I closed and opened the vs code and migrated with your instructions. It worked.
YOUCODEWORLD 2021-05-31 19:35:19
Cool
SureshLaraDev 2021-05-31 19:35:31
Buggy laptop.
SureshLaraDev 2021-05-31 19:35:58
Thanks for the timely help man.
Dilawar Naseem 2021-05-31 19:36:15
@natghi2010 thank you for your Help
YOUCODEWORLD 2021-05-31 19:36:25
Welcome 🀝
Dilawar Naseem 2021-05-31 20:09:02
i want to print the details of Fee Invoice
but i can seem to find the details in session
YOUCODEWORLD 2021-05-31 20:11:55
I don’t undrestand your mean.
MerchantHussain 2021-05-31 20:25:11
which invoice are you trying to print ?
as i can see u r selecting invoice with id 1 and it shows 2 invoice so basically which one u r trying to print?
Lalit Rana 2021-05-31 21:54:56
Hello guys i need your help

I am using rachet socket in Laravel

but i When i use Eloquent in Socket Controller it gives

PHP Fatal error: Uncaught Error: Call to a member function connection() on null

but in other controller is working good

likemind021 2021-05-31 22:58:33
Lalit Rana 2021-05-31 21:54:56
Hello guys i need your help

I am using rachet socket in Laravel

but i When i use Eloquent in Socket Controller it gives

PHP Fatal error: Uncaught Error: Call to a member function connection() on null

but in other controller is working good

That means you are calling a function on an empty object

Sunny_jn 2021-06-01 05:11:30
Hey,
Can someone help me. That how to create add more button using jquery and add data in only one field in db.
I was getting only one
Sunny_jn 2021-06-01 05:11:53
laravel_discuss-83656.jpg

Sunny_jn 2021-06-01 05:12:18
laravel_discuss-83658.jpg

Sunny_jn 2021-06-01 05:12:18
laravel_discuss-83657.jpg

|