예제 #1
0
                <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>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td colspan="3" class="footer">
        <?php 
echo $company_name . " | " . $address . ", " . $zipcode . " " . $city . " " . $country . " | VAT nr." . $vat_invoice;
?>
      </td>
    </tr>
  </tfoot>
  </table></div>
<?php 
예제 #2
0
      <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>
  <tfoot>
    <tr>
      <td colspan="3" class="footer">
        <?php echo $company_name." | ".$address.", ".$zipcode." ".$city." ".$country." | VAT nr.".$vat_invoice; ?> 
      </td>
    </tr> 
  </tfoot>
  </table></div>
<?php

$smarty->display('footer.tpl');