KD
Asked
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
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
Attachments
- MSAnsweredHello,
I didn't understand. Does the user have permission to add payment?
Let me know so that I can check and suggest.
Thank you - KDAnsweredHi,
Please check attached images for user permissions
ThanksAttachments - KDAnsweredHi,
Would you please reply
Thanks - MSAnsweredThank you for the screenshots. I will fix this in coming update.
- KDAnsweredWhen updates will be out ?
- KDAnsweredHi,
In which place we have to modify to make it work
Thanks - MSAnsweredHello,
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 with
```php
return $this->belongsTo(Customer::class)->withoutGlobalScope('mine');
```
Thank you - Login to Reply