<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Can anyone on the list confirm that they are using service svc_cable and it is showing serial number or mac address or anything other than n/a in their system?<o:p></o:p></p><p class=MsoNormal>I’ve actually created a svc_cable package in the demo system on freeside.biz site and billed it and it shows n/a as well so I think it’s a bug.<o:p></o:p></p><p class=MsoNormal>Not sure <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> freeside-users <freeside-users-bounces@freeside.biz> <b>On Behalf Of </b>Kristian Hoffmann<br><b>Sent:</b> Monday, December 3, 2018 3:04 PM<br><b>To:</b> Freeside users mailing list <freeside-users@freeside.biz><br><b>Subject:</b> Re: [freeside-users] show ordernum for cable package on invoice<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Change it to the following to see if you're actually running the modifications.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>sub label {<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>return 'test';<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>If nothing changes in the UI, then you need to troubleshoot why your changes aren't being used. It could be as simple as needing to restart apache after making the changes.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>-Kristian<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>On Sat, 2018-12-01 at 05:47 +0000, Gilbert Rebeiro wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #729FCF 1.5pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Thanks for the hack!<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>I do have Mac and Serial# filled in and yet it still shows n/a <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Not sure why?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Any ideas?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>------ Original Message ------<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>From: "Kristian Hoffmann" <<a href="mailto:khoff@fire2wire.com">khoff@fire2wire.com</a>><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>To: "Freeside users mailing list" <<a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a>><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Sent: 11/30/2018 6:46:52 PM<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Subject: Re: [freeside-users] show ordernum for cable package on invoice<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><blockquote style='border:none;border-left:solid #729FCF 1.5pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Looks like it's using MAC and/or Serial # for the label...<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><a href="http://git.freeside.biz/cgit/freeside.git/tree/FS/FS/svc_cable.pm?h=FREESIDE_4_BRANCH#n137">http://git.freeside.biz/cgit/freeside.git/tree/FS/FS/svc_cable.pm?h=FREESIDE_4_BRANCH#n137</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>If you want to hack it...<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><pre><code>sub label {</code><o:p></o:p></pre><pre>  my $self = shift;<o:p></o:p></pre><pre>  my $part_svc = $self->cust_svc->part_svc;<o:p></o:p></pre><pre>  my @label = ();<o:p></o:p></pre><pre>  push @label, 'MAC:'. $self->mac_addr_pretty<o:p></o:p></pre><pre>    if $self->mac_addr;<o:p></o:p></pre><pre><code>  push @label, 'Order:'. $self->ordernum</code><o:p></o:p></pre><pre><code>    if $self->ordernum;</code><o:p></o:p></pre><pre>  if ( $self->serialnum ) {<o:p></o:p></pre><pre>    my $serialnum_label = $part_svc->part_svc_column('serialnum');<o:p></o:p></pre><pre>    push @label,<o:p></o:p></pre><pre>      ($serialnum_label && $serialnum_label->columnlabel || 'Serial#').<o:p></o:p></pre><pre>      $self->serialnum;<o:p></o:p></pre><pre>  }<o:p></o:p></pre><pre>  return join(', ', @label);<o:p></o:p></pre><pre>}<o:p></o:p></pre><pre><o:p> </o:p></pre><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>-Kristian<o:p></o:p></span></p></div><pre><o:p> </o:p></pre></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>On Fri, 2018-11-30 at 01:21 +0000, Gilbert Rebeiro wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #729FCF 1.5pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Hi,<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>I've got packages based on service svc_cable.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>I'd like the ordernum field from these packages to show on the invoice.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Is there a simple way to accomplish this?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>currently it shows "Cable: n/a"<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Cable is the name of the service.  I'm not sure which field it is trying to print.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Thanks,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif'>Gilbert.<o:p></o:p></span></p></div><pre>_______________________________________________<o:p></o:p></pre><pre>freeside-users mailing list<o:p></o:p></pre><pre><a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a><o:p></o:p></pre><pre><a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><o:p></o:p></pre><pre><o:p> </o:p></pre></blockquote></blockquote><pre>_______________________________________________<o:p></o:p></pre><pre>freeside-users mailing list<o:p></o:p></pre><pre><a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a><o:p></o:p></pre><pre><a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><o:p></o:p></pre><pre><o:p> </o:p></pre></blockquote></div></body></html>