Jump to content

srs

Member
  • Posts

    2
  • Joined

  • Last visited

About srs

srs's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. hi there, thanks, yeah i've tried debug and this is what i see on the debug list for subtotal. invoicessubtotal => Sub Total No data gets populated to my subtotal fields. any idea what's wrong with my code above?
  2. hi, I need to display subtotal in my client area invoices page and I've added the subtotal field to my template. (see snippet of my client area invoice template below) However, when i log in any client, no data gets populated to the subtotal field. can someone advise me on how to fix this? thanks <form method="post" action="clientarea.php?action=masspay"> <table class="table table-striped table-framed table-centered"> <thead> <tr> <th{if $orderby eq "id"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=id">{$LANG.invoicestitle}</a></th> <th{if $orderby eq "date"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=date">{$LANG.invoicesdatecreated}</a></th> <th{if $orderby eq "duedate"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=duedate">{$LANG.invoicesdatedue}</a></th> <th{if $orderby eq "Sub Total"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=Sub Total">{$LANG.invoicessubtotal}</a></th> <th{if $orderby eq "total"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=total">{$LANG.invoicestotal}</a></th> <th{if $orderby eq "status"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=invoices&orderby=status">{$LANG.invoicesstatus}</a></th> <th> </th> </tr> </thead> <tbody> {foreach from=$invoices item=invoice} <tr> <td><a href="viewinvoice.php?id={$invoice.id}" target="_blank"><strong>{$invoice.invoicenum}</strong></a></td> <td>{$invoice.datecreated}</td> <td>{$invoice.datedue}</td> <td>{$invoice.sub total}</td> <td>{$invoice.total}</td> <td><span class="label {$invoice.rawstatus}">{$invoice.statustext}</span></td> <td class="textcenter"><a href="viewinvoice.php?id={$invoice.id}" target="_blank" class="btn">{$LANG.invoicesview}</a></td> </tr>
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated