Example #1
0
						<div class="row">
							<div class="col-sm-12">
							<div id="reviewOrderTabs" class="reviewOrder">
								<ul>
									<li><a href="#review_order_tab1">My Orders</a></li>
									<?php 
if (isDistributor()) {
    ?>
									<li><a href="#review_order_tab2">Dealer Products</a></li>
								<?php 
}
?>
								</ul>
								<div id="review_order_tab1">
									<?php 
$ordered_ids = getOrederedId();
?>
									<?php 
if (count($ordered_ids)) {
    ?>
									<?php 
    $ordered_ids['brand_id'] = array_values($ordered_ids['brand_id']);
    ?>
									<?php 
    $ordlerLevels = get_nested();
    ?>
									<ul class="accordion">
									<?php 
    foreach ($ordlerLevels as $key => $brand) {
        ?>
										<?php 
Example #2
0
									<li><a href="#review_order_tab3">Brand Report</a></li>
									<li><a href="#review_order_tab4">Distributor Report</a></li>
								<?php 
} elseif (isArvindUser()) {
    ?>
									<!-- <li><a href="#review_order_tab5">All Orders</a></li> -->
								<?php 
}
?>
								</ul>
								<?php 
if (isDealer()) {
    ?>
								<div id="review_order_tab1">
									<?php 
    $ordered_ids = getOrederedId(null, TRUE);
    ?>
									<?php 
    if (count($ordered_ids)) {
        ?>
									<?php 
        $ordered_ids['brand_id'] = array_values($ordered_ids['brand_id']);
        ?>
									<?php 
        $ordlerLevels = get_nested();
        ?>
									<ul class="accordion">
									<?php 
        $countBrand = 0;
        ?>
									<?php