Some updates to invoice
This commit is contained in:
@@ -2,38 +2,38 @@
|
||||
<fieldset class="span5">
|
||||
<legend>Service Information</legend>
|
||||
|
||||
<div class="dl-horizontal">
|
||||
<div class="dl-horizontal">
|
||||
|
||||
<dt>Account</dt>
|
||||
<dd><?php printf('%s (%s)',$o->account->name(),$o->account->accnum()); ?></dd>
|
||||
<dt>Account</dt>
|
||||
<dd><?php printf('%s (%s)',$o->account->name(),$o->account->accnum()); ?></dd>
|
||||
|
||||
<dt>Service Active</dt>
|
||||
<dd><?php echo $o->label_bool('status',TRUE); ?></dd>
|
||||
<dt>Service Active</dt>
|
||||
<dd><?php echo $o->label_bool('status',TRUE); ?></dd>
|
||||
|
||||
<dt>Billing Period</dt>
|
||||
<dd><?php echo $o->display('recur_schedule');?></dd>
|
||||
<dt>Billing Period</dt>
|
||||
<dd><?php echo $o->display('recur_schedule');?></dd>
|
||||
|
||||
<dt>Cost</dt>
|
||||
<dd><?php echo $o->price(TRUE,TRUE); if ($o->pending_change()) echo ' *'; ?></dd>
|
||||
<dt>Cost</dt>
|
||||
<dd><?php echo $o->price(TRUE,TRUE); if ($o->pending_change()) echo ' *'; ?></dd>
|
||||
|
||||
<?php if (is_null($o->price) OR ($o->price<=$o->product->price($o->price_group,$o->recur_schedule,'price_base'))) : ?>
|
||||
<dt>Service</dt>
|
||||
<dd><?php echo HTML::anchor('product/view/'.$o->product_id,$o->product->title()); ?></dd>
|
||||
<?php endif ?>
|
||||
<?php if (is_null($o->price) OR ($o->price<=$o->product->price($o->price_group,$o->recur_schedule,'price_base'))) : ?>
|
||||
<dt>Service</dt>
|
||||
<dd><?php echo HTML::anchor('product/view/'.$o->product_id,$o->product->title()); ?></dd>
|
||||
<?php endif ?>
|
||||
|
||||
<dt>Invoiced To</dt>
|
||||
<dd><?php echo $o->invoiced_to(TRUE); ?></dd>
|
||||
<dt>Invoiced To</dt>
|
||||
<dd><?php echo $o->invoiced_to(TRUE); ?></dd>
|
||||
|
||||
<dt>Paid To</dt>
|
||||
<dd><?php echo $o->paid_to(TRUE); ?></dd>
|
||||
<dt>Paid To</dt>
|
||||
<dd><?php echo $o->paid_to(TRUE); ?></dd>
|
||||
|
||||
<dt>Date Next Invoice</dt>
|
||||
<dd><?php echo $o->display('date_next_invoice'); ?></dd>
|
||||
<dt>Date Next Invoice</dt>
|
||||
<dd><?php echo $o->display('date_next_invoice'); ?></dd>
|
||||
|
||||
<dt>Current Invoices Due</dt>
|
||||
<dd><?php echo $o->due(TRUE); ?></dd>
|
||||
<dt>Current Invoices Due</dt>
|
||||
<dd><?php echo $o->due(TRUE); ?></dd>
|
||||
|
||||
</div> <!-- /dl-horizontal -->
|
||||
</div> <!-- /dl-horizontal -->
|
||||
</fieldset>
|
||||
|
||||
<?php if ($o->product->feature_summary()) :
|
||||
|
Reference in New Issue
Block a user