[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.46.2.1, 1.46.2.2
Mark Wells
mark at wavetail.420.am
Thu Sep 15 17:15:50 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/config config-download.cgi, 1.3, 1.3.10.1 config-image.cgi, 1.2, 1.2.8.1 config-process.cgi, 1.28, 1.28.2.1 config-view.cgi, 1.44, 1.44.2.1 config.cgi, 1.37, 1.37.2.1
- Next message: [freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.10.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv30348/httemplate/edit/cust_main
Modified Files:
Tag: FREESIDE_2_3_BRANCH
billing.html
Log Message:
invoice template and config localization, #12367
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.46.2.1
retrieving revision 1.46.2.2
diff -u -w -d -r1.46.2.1 -r1.46.2.2
--- billing.html 6 Aug 2011 00:50:59 -0000 1.46.2.1
+++ billing.html 16 Sep 2011 00:15:48 -0000 1.46.2.2
@@ -555,6 +555,24 @@
<INPUT TYPE="hidden" NAME="cdr_termination_percentage" VALUE="<% $cust_main->cdr_termination_percentage %>">
% }
+%my @available_locales = $conf->config('available-locales');
+%if ( scalar(@available_locales) ) {
+% push @available_locales, '';
+% my %locale_labels = map {
+% my %ll;
+% my %info = FS::Locales->locale_info($_);
+% $ll{$_} = $info{name} . " (" . $info{country} . ")";
+% %ll;
+% } FS::Locales->locales;
+ <& /elements/tr-select.html,
+ 'label' => emt('Invoicing locale'),
+ 'field' => 'locale',
+ 'options' => \@available_locales,
+ 'labels' => \%locale_labels,
+ 'curr_value' => $cust_main->locale,
+ &>
+% }
+
</TABLE>
<% $r %> <% mt('required fields') |h %>
- Previous message: [freeside-commits] freeside/httemplate/config config-download.cgi, 1.3, 1.3.10.1 config-image.cgi, 1.2, 1.2.8.1 config-process.cgi, 1.28, 1.28.2.1 config-view.cgi, 1.44, 1.44.2.1 config.cgi, 1.37, 1.37.2.1
- Next message: [freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.10.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list