Hi,
I’m facing a problem with POS payments When create a user with any permissions we can’t place a payments and receiving error message
500 Internal server error Call to member function payments() on null
Please advice
Thanks
- MSAnswered
Hello,
I didn’t understand. Does the user have permission to add payment?
Let me know so that I can check and suggest.
Thank you
- KDAnswered
Hi,
Please check attached images for user permissions
Thanks
Attachments - KDAnswered
Hi,
Would you please reply
Thanks
- MSAnswered
Thank you for the screenshots. I will fix this in coming update.
- KDAnswered
When updates will be out ?
- KDAnswered
Hi,
In which place we have to modify to make it work
Thanks
- MSAnswered
Hello,
The update will be this week.
I am not sure if that is only 1 place but you can edit
modules/MPS/Models/Traits/BelongsToCustomer.php
and replace the line 11 withreturn $this->belongsTo(Customer::class)->withoutGlobalScope('mine');
Thank you
- Login to Reply