
<?php 
$bt3='';
$bt2='';
$bt1='';

if($page=='Monthly Sales'){
    $bt3='bg-primary';
}
else if($page=='Daily Sales'){
    $bt2='bg-primary';
}

else if($page=='Todays Sales'){
    $bt1='bg-primary';
}
echo $page;
?>

<div style="overflow: scroll;" class="row no-gutters">
                    <div class="col-sm-12">
                        <div id="filters" class="d-flex button-group">
                            <div class="col-sm-2 ">
                                <a  href="report"class=" btn-order <?php echo $bt1?>  text-center btn ">
                                    <p class="text-center order-text-order-managment">Today</p>
                                </a>
                            </div>
                            <div class="col-sm-2 ">
                                <a   href="analytics_by_day" class="collapsed <?php echo $bt2?> btn-order  text-center btn ">
                                    <p class="text-center order-text-order-managment">Sales By Date</p>
                                </a>
                            </div>
                            <div class="col-sm-2 ">
                                <a href="analytics_by_month" class=" btn-order <?php echo $bt3?> collapsed text-center btn ">
                                    <p class="text-center order-text-order-managment">Monthly</p>
                                </a>
                            </div>

                          
                        </div>
                    </div>
                </div>