X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fcust_bill.pm;h=58288b4b5d8f17a76cfb0f0fdbb34102934a6787;hb=479ec8dd320258a22165d05da9624e6571c0daaf;hp=fda1c7287fa3f8f830097dfc6e09ab9964c961fa;hpb=4532048fddaf20751dda7721ee6bab4bac8755ac;p=freeside.git diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index fda1c7287..58288b4b5 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2462,9 +2462,12 @@ Returns a string with the invoice number and date, for example: =cut +#note: this uses _date_pretty_unlocalized because _date_pretty is too expensive +# for backend use (and also does the wrong thing, localizing for end customer +# instead of backoffice configured date format) sub invnum_date_pretty { my $self = shift; - $self->mt('Invoice #'). $self->invnum. ' ('. $self->_date_pretty. ')'; + $self->mt('Invoice #'). $self->invnum. ' ('. $self->_date_pretty_unlocalized. ')'; } #sub _items_extra_usage_sections {