Example #1
0
$taxCalc = Config::get('vividstore.calculation');
$dh = Core::make('helper/date');
if ($taxCalc == 'extract') {
    $taxValue = 'includedTaxTotal';
    $extraTaxLable = t('Incl.');
} else {
    $taxValue = 'taxTotal';
    $extraTaxLable = '';
}
?>

<div class="row">
	<div class="col-xs-12 col-md-4">
		<div class="panel panel-sale">
			<?php 
$ts = SalesReport::getTodaysSales();
?>
			<div class="panel-heading">
				<h2 class="panel-title"><?php 
echo t("Today's Sales");
?>
</h2>
			</div>
			<div class="panel-body">
				<div class="row">
					<div class="col-xs-12 col-sm-6 stat">
						<strong><?php 
echo t('Total');
?>
 </strong> <?php 
echo Price::format($ts['total']);