[freeside-commits] freeside/httemplate/browse part_pkg.cgi, 1.61, 1.62
Ivan,,,
ivan at wavetail.420.am
Tue Jul 12 15:58:43 PDT 2011
- Previous message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.122, 1.123 cust_pkg.pm, 1.203, 1.204 cust_bill_pkg.pm, 1.55, 1.56
- Next message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.111.2.6, 1.111.2.7 cust_pkg.pm, 1.179.2.23, 1.179.2.24 cust_bill_pkg.pm, 1.51.4.3, 1.51.4.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv31661/httemplate/browse
Modified Files:
part_pkg.cgi
Log Message:
fix UI for package editing w/recur_show_zero, add setup_show_zero, RT#9777
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg.cgi,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -w -d -r1.61 -r1.62
--- part_pkg.cgi 10 Jun 2011 03:33:44 -0000 1.61
+++ part_pkg.cgi 12 Jul 2011 22:58:41 -0000 1.62
@@ -220,12 +220,19 @@
sprintf('%.2f', $part_pkg->option('setup_fee') ),
align=>'right'
},
- { data => ( $is_recur ? ' setup' : ' one-time' ),
+ { data => ( ( $is_recur ? ' setup' : ' one-time' ).
+ ( $part_pkg->option('recur_fee') == 0
+ && $part_pkg->setup_show_zero
+ ? ' (printed on invoices)'
+ : ''
+ )
+ ),
align=>'left',
},
],
[
- { data=>( $is_recur
+ { data=>(
+ $is_recur
? $money_char.sprintf('%.2f ', $part_pkg->option('recur_fee'))
: $part_pkg->freq_pretty
),
@@ -233,20 +240,19 @@
colspan=> ( $is_recur ? 1 : 2 ),
},
( $is_recur
- ? { data => ( $is_recur ? $part_pkg->freq_pretty : '' ),
+ ? { data => ( $is_recur
+ ? $part_pkg->freq_pretty.
+ ( $part_pkg->option('recur_fee') == 0
+ && $part_pkg->recur_show_zero
+ ? ' (printed on invoices)'
+ : ''
+ )
+ : '' ),
align=>'left',
}
: ()
),
],
- [ { data =>
- ( $part_pkg->option('recur_fee') == 0 && $part_pkg->recur_show_zero )
- ? ' (printed on invoices)'
- : '',
- align => 'center', #?
- colspan => 2,
- },
- ],
( map {
my $dst_pkg = $_->dst_pkg;
[
- Previous message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.122, 1.123 cust_pkg.pm, 1.203, 1.204 cust_bill_pkg.pm, 1.55, 1.56
- Next message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.111.2.6, 1.111.2.7 cust_pkg.pm, 1.179.2.23, 1.179.2.24 cust_bill_pkg.pm, 1.51.4.3, 1.51.4.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list