Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2.0
-
Fix Version/s: 3.2.1
-
Component/s: Staff Interface
-
Labels:None
Description
Someone reported that they would like a permission for the client page regarding Recording a Payment.
http://www.blesta.com/forums/index.php?/topic/2780-permission-for-record-payment/
I thought one already exists?
I see permissions for "Enter Payment" and "Pay Invoice", whose actions are "pay" and "payinvoice", respectively. However, there are no methods AdminClients::pay(), nor AdminClients::payInvoice().
Instead, there are AdminClients::recordPayment() and AdminClients::makePayment().
Is there an issue here with incorrect permissions?
I think the permissions for AdminClients::pay() (StaffGroups.permissions.admin_clients_pay) should be updated to be for AdminClients::recordPayment().
AdminClients::payinvoice() (StaffGroups.permissions.admin_clients_payinvoice) should be updated to be for AdminClients::makePayment().