[freeside-devel] [freeside-commits] freeside/FS/FS cdr.pm, 1.13, 1.14

Jeff Finucane jeff at cmh.net
Thu Jun 5 18:38:27 PDT 2008


"Ivan,,," <ivan at wavetail.420.am>:

   Thank you for your message of Thu, 05 Jun 2008 22:44:44 +0000....

+----------
| From: "Ivan,,," <ivan at wavetail.420.am>
| To: ivan-freeside-commits at sisd.com
| Message-Id: <20080605224446.0A8E5FC8566 at wavetail.420.am>
| Subject: [freeside-commits] freeside/FS/FS cdr.pm,1.13,1.14
| 
| Modified Files:
| 	cdr.pm 
| Log Message:
| add am/pm to voxlinesystems2 display format, remove name, revsere src/dst
| 
| Index: cdr.pm
| ===================================================================
| RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
| retrieving revision 1.13
| retrieving revision 1.14
| diff -u -d -r1.13 -r1.14
| --- cdr.pm	5 Jun 2008 19:24:32 -0000	1.13
| +++ cdr.pm	5 Jun 2008 22:44:41 -0000	1.14
| @@ -400,7 +400,8 @@
|                         },
|    'voxlinesystems2' => { 'name'           => 'VoxLineSystems with source',
|                           'invoice_header' =>
| -                           "Date,Time,Name,Destination,Called From,Duration,Price",
| +                           #"Date,Time,Name,Called From,Destination,Duration,Price",
| +                           "Date,Time,Called From,Destination,Duration,Price",
|                         },
|  );
|  
+----------

  Something is not right here.  6 Column headers but 7 columns.

+----------
| @@ -430,7 +431,7 @@
|    ],
|    'voxlinesystems2' => [
|      sub { time2str('%D', shift->calldate_unix ) },   #DATE
| -    sub { time2str('%T', shift->calldate_unix ) },   #TIME
| +    sub { time2str('%r', shift->calldate_unix ) },   #TIME
|      'userfield',                                     #USER
|      'dst',                                           #NUMBER_DIALED
|      'src',                                           #called from
+----------

  Weird.  Certainly I copy pasta from voxlinesystems.

-- 
jeff at cmh.net

"There is no worse tyranny than to force a man to pay for what he does
 not want merely because you think it would be good for him." 

 Professor Bernardo de le Paz
  [ R.A. Heinlein -- "The Moon is a Harsh Mistress" ]



More information about the freeside-devel mailing list