<div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Technician Accounts</div>                                
                            </div>
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.php?page=home">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li><a class="parent-item" href="index.php?page=view_technician&id=<?php echo $techId; ?>">Technician</a>&nbsp;<i class="fa fa-angle-right"></i></li><li class="active">View Technician</li>
                            </ol>
                        </div>
                    </div>
<div class="row">
                        <div class="col-md-12 col-sm-12">
                            <div class="card card-box">
                                <div class="card-head">
                                    <header>Accounts</header>       
                                </div>
                                <div class="card-body" id="bar-parent1">
                                	
                                	<?php if(isset($error) && $error!='') { ?> 
                                	<div class="alert alert-danger"><?php echo $error; ?></div>
                                	<?php } ?>                                		
                                		                                      	                          	                                	
                                    <div class="col-12" >
                                    	<h3>Total Task Amount: <?php echo $totalTaskFullAmount; ?></h3>
										<h3>Total Income: <?php echo $totalTaskAmount; ?></h3>
										<h3>Total Admin Fee: <?php echo $totalAdminFee; ?></h3>
										<h3>Cash Transactions: <?php echo $totalCashAmount; ?></h3>
										<h3>Online Transactions: <?php echo $totalWalletAmount; ?></h3>
										<h3>Extra Credits from <?php echo(SITE_NAME); ?>: <?php echo $totExtraCredits; ?></h3>
										<h3>Total Given to <?php echo(SITE_NAME); ?>: <?php echo $totAmountGiven; ?></h3>
										<?php if($techType!='own'){ ?>
											<h3>Total received from <?php echo(SITE_NAME); ?>: <?php echo $totAmountReceived; ?></h3>
										<?php } ?>
										<?php if($myBalance>0){ ?>
											<?php if($techType!='own'){ ?>
											<h3>Outstanding Balance to <?php echo(SITE_NAME); ?>: <?php echo number_format((float)$myBalance, 2, '.', ''); ?></h3>
											<?php } ?>
										<?php } else { ?>
											<h3>Outstanding Balance from <?php echo(SITE_NAME); ?>: <?php echo number_format((float)abs($myBalance), 2, '.', ''); ?></h3>
										<?php } ?>
                                    </div>
                                    
                                    
                                    
                                </div>
                            </div>
                        </div>
                    </div>
	</div>
</div>
