X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTemplateItem_Mixin.pm;h=6ae3364d193efa1e38aebd9362d49d7ac9e9145c;hb=03c12b4dabfcaabc218f39ee13557edebc13931d;hp=fa20c240f7d5e59d33c24f473d22bef0cbb9d911;hpb=edb76c8cd4f4066e32f64ab92909a0f95d85ae23;p=freeside.git diff --git a/FS/FS/TemplateItem_Mixin.pm b/FS/FS/TemplateItem_Mixin.pm index fa20c240f..6ae3364d1 100644 --- a/FS/FS/TemplateItem_Mixin.pm +++ b/FS/FS/TemplateItem_Mixin.pm @@ -128,20 +128,21 @@ sub time_period_pretty { Returns an array of detail information for the invoice line item. -Currently available options are: I, I and -I. +Options may include: -If I is set to html or latex then the array members are improved -for tabular appearance in those environments if possible. +I: set to 'html' or 'latex' to have the detail lines formatted for +inclusion in an HTML table (wrapped in and elements) or LaTeX table +(delimited with & and \\ operators). -If I is set then the array members are processed by this +I: if present, then the array elements are processed by this function before being returned. -I overrides the normal HTML or LaTeX function for returning -formatted CDRs. It can be set to a subroutine which returns an empty list -to skip usage detail: +I: overrides the normal HTML or LaTeX function for returning +formatted CDRs. - 'format_function' => sub { () }, +I: excludes call detail records. The method will still return +some special-case records like prorate details, and manually created package +details. =cut