MT#62600 fix UI invoice create/edit

* fix Invoice create/edit operation error

Couldn't render template "invoice/create.tt: file error - invoice/create.tt: not found"<BB>

  that was related to an incomplete restricted function call.

Change-Id: Ic457f180ca99fcdacd51b2ba3bb5606719ea9bdd
(cherry picked from commit 7a7c5cd364)
mr13.3
Kirill Solomko 4 days ago
parent b72107bf7d
commit b2107f92a6

@ -52,6 +52,8 @@ sub inv_list :Chained('/') :PathPart('invoice') :CaptureArgs(0) :Does(ACL) :ACLD
sub inv_list_restricted :Chained('/') :PathPart('invoice') :CaptureArgs(0) :Does(License) :RequiresLicense('invoice') :LicenseDetachTo('/denied_page') :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) :AllowedRole(reseller) :AllowedRole(subscriberadmin) {
my ($self, $c) = @_;
$self->inv_list($c);
}
sub customer_inv_list :Chained('/') :PathPart('invoice/customer') :CaptureArgs(1) :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) :AllowedRole(reseller) :AllowedRole(ccareadmin) :AllowedRole(ccare) :AllowedRole(subscriberadmin) {

Loading…
Cancel
Save