Example #1
0
                   <td class="three"><?php 
    echo number_format(round(amount_convert($val), 2), 2) . " {$display_curr}";
    ?>
</td>
                 </tr>
         <?php 
}
?>
         <tr class="inctotal">
           <td class="one"></td>
           <td class="two"><?php 
echo gettext("Total incl. VAT:");
?>
</td>
           <td class="three"><div class="inctotal"><div class="inctotal inner"><?php 
echo number_format(round(amount_convert($price_with_vat) * 100) / 100, 2) . " {$display_curr}";
?>
</div></div></td>
         </tr>
        </tbody></table>
      </td>
    </tr>
    <tr>
    <td colspan="3" class="additional-information">
      <div class="invoice-description">
      <?php 
echo $invoice->getDescription();
?>
     </div></td>
    </tr>
  </tbody>
Example #2
0
?>

    <tr>
      <td colspan="3">
        <table class="total">
          <tbody>
            <tr class="inctotal">
              <td class="one"></td>
              <td class="two"><?php 
echo gettext("Total:");
?>
</td>
              <td class="three">
                <div class="inctotal inner">
                  <?php 
echo number_format(amount_convert($price), 3) . " {$display_curr}";
?>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
    <tr>
    <td colspan="3" class="additional-information">
      <div class="receipt-description">
          <?php 
echo $receipt->getDescription();
?>
     </div></td>
Example #3
0
    	 }
         if($nb_page<=1)$totalprice=$price;
    	 ?>
    <tr>
      <td colspan="3">
        <table class="total">
         <tbody>
         <?php if($nb_page>1){ ?>
         <tr class="extotal">
           <td class="one"></td>
           <td class="two"><?php echo gettext("Total Page");" "+$page ?></td>
           <td class="three"><div class="inctotal"><div class="inctotal inner"><?php echo number_format(ceil(amount_convert(ceil($price*100)/100)*100)/100,2)." $display_curr"; ?></div></div></td>
         </tr>
         <?php }else{ ?>
         <?php } ?>
         <tr class="inctotal">
           <td class="one"></td>
           <td class="two"><?php echo gettext("Total Receipt :") ?></td>
           <td class="three"><div class="inctotal"><div class="inctotal inner"><?php echo number_format(ceil(amount_convert(ceil($totalprice*100)/100)*100)/100,2)." $display_curr"; ?></div></div></td>
         </tr>
        </tbody></table>
      </td>
    </tr>
    
  </tbody>
  
  </table></div>



<?php $smarty->display('profiler.tpl');
Example #4
0
          <td class="one"></td>
          <td class="two"><?php echo gettext("Subtotal excl. VAT:"); ?></td>
          <td class="three"><?php echo number_format(round(amount_convert($price_without_vat)*100)/100,2)." $display_curr"; ?></td>
        </tr>
        	
        <?php foreach ($vat_array as $key => $val) { ?>
                <tr class="vat">
                  <td class="one"></td>
                  <td class="two"><?php echo gettext("VAT ") . "$key%:" ?></td>
                  <td class="three"><?php echo number_format(round(amount_convert($val),2),2)." $display_curr"; ?></td>
                </tr> 
        <?php } ?>
        <tr class="inctotal">
          <td class="one"></td>
          <td class="two"><?php echo gettext("Total incl. VAT:") ?></td>
          <td class="three"><div class="inctotal"><div class="inctotal inner"><?php echo number_format(round(amount_convert($price_with_vat)*100)/100,2)." $display_curr"; ?></div></div></td>
        </tr>
       </tbody></table>
     </td>
   </tr>
   <tr>
   <td colspan="3" class="additional-information">
     <div class="invoice-description">
     <?php echo $invoice->getDescription();
           if (file_exists("templates/default/images/stamp.png")) echo '<img src="templates/default/images/stamp.png" align="right">' ?>
    </div></td>
   </tr>
 </tbody>
 <tfoot>
   <tr>
     <td colspan="3" class="footer">
    $price = $price + $item->getPrice();
}
?>
    	
    <tr>
      <td colspan="3">
        <table class="total">
         <tbody>
         <tr class="inctotal">
           <td class="one"></td>
           <td class="two"><?php 
echo gettext("Total:");
?>
</td>
           <td class="three"><div class="inctotal"><div class="inctotal inner"><?php 
echo number_format(ceil(amount_convert($price) * 100) / 100, 2) . " {$display_curr}";
?>
</div></div></td>
         </tr>
        </tbody></table>
      </td>
    </tr>
    <tr>
    <td colspan="3" class="additional-information">
      <div class="receipt-description">
      <?php 
echo $receipt->getDescription();
?>
     </div></td>
    </tr>
  </tbody>
Example #6
0
    ?>
</td>
            </tr>
          <?php 
}
?>
          <tr class="inctotal">
            <td class="one"></td>
            <td class="two"><?php 
echo gettext("Total incl. VAT:");
?>
</td>
            <td class="three">
              <div class="inctotal inner">
                <?php 
echo number_format(amount_convert($price_with_vat), 2) . " {$display_curr}";
?>
              </div>
             </td>
          </tr>
        </tbody></table>
      </td>
    </tr>
    <tr>
    <td colspan="3" class="additional-information">
      <div class="invoice-description">
      <?php 
echo $invoice->getDescription();
?>
     </div></td>
    </tr>
    ?>
</div>
                                    </div>
                                </td>
                            </tr>
            <?php 
}
?>
                            <tr class="inctotal">
                                <td class="one"></td>
                                <td class="two"><?php 
echo gettext("Total Receipt :");
?>
</td>
                                <td class="three">
                                    <div class="inctotal inner"><?php 
echo number_format(amount_convert($totalprice), 2) . " {$display_curr}";
?>
                                    </div>
                                </td>
                            </tr>
                        </tbody></table>
                </td>
            </tr>

        </tbody>

    </table></div>

<?php 
$smarty->display('profiler.tpl');