[freeside-commits] branch rt_28256 created. 58f80e778a3d5ef911a7dc94a1d9267c4ec6ba92
Alex Brelsfoard
alex at 420.am
Sun Jan 25 20:02:44 PST 2015
The branch, rt_28256 has been created
at 58f80e778a3d5ef911a7dc94a1d9267c4ec6ba92 (commit)
- Log -----------------------------------------------------------------
commit 58f80e778a3d5ef911a7dc94a1d9267c4ec6ba92
Author: Alex Brelsfoard <alex at freeside.biz>
Date: Sun Jan 25 22:58:35 2015 -0500
Built a new dependecies hash and function to handle dependency checks for fields under the Pricing Plan section.
diff --git a/FS/FS/part_pkg/global_Mixin.pm b/FS/FS/part_pkg/global_Mixin.pm
index 2637729..899e73a 100644
--- a/FS/FS/part_pkg/global_Mixin.pm
+++ b/FS/FS/part_pkg/global_Mixin.pm
@@ -65,44 +65,7 @@ tie my %a2billing_simultaccess, 'Tie::IxHash', (
'type' => 'select',
'select_options' => \%a2billing_simultaccess,
},
- 'a2billing_carrier_cost_min' => {
- 'name' => 'A2Billing inbound carrier cost',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
- 'a2billing_carrer_initblock_offp' => {
- 'name' => 'A2Billing inbound carrier min duration',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
- 'a2billing_carrier_increment_offp' => {
- 'name' => 'A2Billing inbound carrier billing block',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
- 'a2billing_retail_cost_min_offp' => {
- 'name' => 'A2Billing inbound retail cost',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
- 'a2billing_retail_initblock_offp' => {
- 'name' => 'A2Billing inbound retail min duration',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
- 'a2billing_retail_increment_offp' => {
- 'name' => 'A2Billing inbound retail billing block',
- 'display_if' => sub {
- FS::part_export->count("exporttype = 'a2billing'") > 0;
- },
- },
-
- },
+ },
'fieldorder' => [ qw(
setup_fee
recur_fee
@@ -113,12 +76,6 @@ tie my %a2billing_simultaccess, 'Tie::IxHash', (
a2billing_tariff
a2billing_type
a2billing_simultaccess
- a2billing_carrier_cost_min
- a2billing_carrer_initblock_offp
- a2billing_carrier_increment_offp
- a2billing_retail_cost_min_offp
- a2billing_retail_initblock_offp
- a2billing_retail_increment_offp
)],
);
-----------------------------------------------------------------------
More information about the freeside-commits
mailing list