You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[ObservedBy(CustomerPointObserver::class)]
class CustomerPoint extends Model
{
/** * The attributes that are mass assignable. */protected$fillable = [
'customer_id',
'in',
'out',
];
/** * Get the customer that owns the CustomerPoint * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */publicfunctioncustomer(): BelongsTo
{
return$this->belongsTo(Customer::class);
}
}
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Telescope Version
^5.2
Laravel Version
^11.31
PHP Version
8.3.11
Database Driver & Version
Mysql 8.0.40 Windows (x86, 32-bit)
Description
I want to query for total calculation of 2 colums
When i run the method, i get this error.
laravel.log
But when i tried to use another method when i getting the query work with no issue
This is me doing something wrong or the telescope have bug, There is no entry from
/telescope
for the related error.Thanks in advance
Steps To Reproduce
customer_points table
CustomerPointModel
customerController
AppServiceProvider
The text was updated successfully, but these errors were encountered: