[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.47, 1.48
Mark Wells
mark at wavetail.420.am
Thu Sep 15 03:19:02 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/config config-download.cgi, 1.3, 1.4 config-image.cgi, 1.2, 1.3 config-process.cgi, 1.28, 1.29 config-view.cgi, 1.44, 1.45 config.cgi, 1.37, 1.38
- Next message: [freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv16658/httemplate/edit/cust_main
Modified Files:
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.47
retrieving revision 1.48
diff -u -w -d -r1.47 -r1.48
--- billing.html 6 Aug 2011 00:50:48 -0000 1.47
+++ billing.html 15 Sep 2011 10:18:55 -0000 1.48
@@ -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.4 config-image.cgi, 1.2, 1.3 config-process.cgi, 1.28, 1.29 config-view.cgi, 1.44, 1.45 config.cgi, 1.37, 1.38
- Next message: [freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list