Support the ongoing development of Laravel.io →
Database Eloquent Views
Last updated 2 years ago.
0

Are you setting discount to 0? Do you have mutator that does something like intval?

Last updated 2 years ago.
0

I'm not setting the discount to 0, the database column is nullable.

I'm not doing anything with the value, I just try to call it directly from the loaded model...

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

hansvn hansvn Joined 17 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.