From 3a742395d79d0d6712e5111320c4780fd172b870 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 3 Nov 2015 12:10:52 -0800 Subject: [PATCH] cleanup for access rights --- FS/FS/AccessRight.pm | 2 +- FS/FS/access_right.pm | 4 +--- FS/FS/reason_type.pm | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 95cf29a8b..a96a6cb41 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -232,7 +232,7 @@ tie my %rights, 'Tie::IxHash', 'Refund Echeck payment', 'Delete refund', #NEW 'Add on-the-fly credit reason', #NEW - 'Add on-the-fly void credit reason', + 'Add on-the-fly void reason', 'Add on-the-fly refund reason', #NEW ], diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm index 40475ec00..0da718c64 100644 --- a/FS/FS/access_right.pm +++ b/FS/FS/access_right.pm @@ -251,9 +251,7 @@ sub _upgrade_data { # class method 'List customers' => 'List contacts', 'Backdate payment' => 'Backdate credit', 'Generate quotation' => 'Disable quotation', - 'Void credit' => 'Void credit', - 'Unvoid credit' => 'Unvoid credit', - 'Add on-the-fly void credit reason' => 'Add on-the-fly void credit reason', + 'Add on-the-fly void credit reason' => 'Add on-the-fly void reason', '_ALL' => 'Employee preference telephony integration', ); diff --git a/FS/FS/reason_type.pm b/FS/FS/reason_type.pm index 50df495e0..4042972b4 100644 --- a/FS/FS/reason_type.pm +++ b/FS/FS/reason_type.pm @@ -19,7 +19,7 @@ our %class_purpose = ( 'R' => 'explain why a customer was credited', 'S' => 'explain why a customer package was suspended', 'F' => 'explain why a customer was refunded', - 'X' => 'explain why a credit was voided', + 'X' => 'explain why a transaction was voided', ); =head1 NAME -- 2.11.0