<html style="height: auto; min-height: 100%;"><head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>Arctic Business Automation</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <link rel="shortcut icon" type="image/x-icon" href="../img/favicon.png">
        <link rel="stylesheet" href="../css/bootstrap.min.css">
        <link rel="stylesheet" href="../css/font-awesome.min.css">
        <link rel="stylesheet" href="../css/font-awesome-animation.min.css">
        <link rel="stylesheet" href="../css/bootstrap-datepicker.min.css">
        <link rel="stylesheet" href="../plugins/datatable/dataTables.bootstrap.css">
        <link rel="stylesheet" href="../plugins/datepic/daterangepicker.css?V=1.0">
        <link rel="stylesheet" href="../plugins/treetable/css/jquery.treetable.css">
        <link href="../plugins/piker/spectrum.min.css" rel="stylesheet">
        <link href="../plugins/select/select2.css" rel="stylesheet">
        <link href="../plugins/toastr/toastr.min.css" rel="stylesheet">
        <link href="../plugins/livevalidation/live_validation.css" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">
        <link rel="stylesheet" href="../css/arctic.css?V=1.0">
        <link rel="stylesheet" href="../css/custome.css?V=1.0">
        <link rel="stylesheet" href="../css/user_themes/theme1.css?V=1.0">
        <link rel="stylesheet" href="../css/responsive.css?V=1.0">
        <link type="text/css" rel="stylesheet" media="all" href="../chat/chatcss/chat.css">    
    
 
     
        <style>
    body { padding-right: 0 !important }
    .file_loading_div {
        height: 4px;
        width: 100%;
        position: relative;
        overflow: hidden;
        background-color: #ddd;
    }
    .file_loading_div:before{
        display: block;
        position: absolute;
        content: "";
        left: -200px;
        width: 200px;
        height: 4px;
        background-color: #2980b9;
        animation: loadings 2s linear infinite;
    }

    @keyframes loadings{
        from {left: -200px; width: 30%;}
        50% {width: 30%;}
        70% {width: 70%;}
        80% { left: 50%;}
        95% {left: 120%;}
        to {left: 100%;}
    }
    /*shake bell icon*/
    .shake_bell {
        animation: shake_me 2s cubic-bezier(.36,.07,.19,.97) both infinite;
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
    

    @keyframes shake_me {
        10%, 90% {
            transform: translate3d(-1px, 0, 0);
            ;
        }
  
        20%, 80% {
            transform: translate3d(2px, 0, 0);
        }

        30%, 50%, 70% {
            transform: translate3d(-4px, 0, 0);
        }

        40%, 60% {
            transform: translate3d(4px, 0, 0);
        }
    }
    .hideBg{
        background: none !important;
    }
    
    .table_tr_active{
        /*background: #f39c1259 !important;*/
        background-color: #076fef99 !important;
        color: #fff !important;
    }
    .shortcuts .small-box .icon:hover{
        font-size: 64px !important;
    }        
</style>
    
        <style>.cke{visibility:hidden;}</style><script type="text/javascript" src="chrome-extension://aggiiclaiamajehmlfpkjmlbadmkledi/popup.js" async=""></script><script type="text/javascript" src="chrome-extension://aggiiclaiamajehmlfpkjmlbadmkledi/tat_popup.js" async=""></script></head>
        <body class="skin-blue sidebar-mini" style="height: auto; min-height: 100%;">
        <div class="wrapper" style="height: auto; min-height: 100%;">
        <style>
        .sidebar-mini .icon_logo{
        display: none;
        }
        .sidebar-collapse .icon_logo{
        display: block;
            }
        .sidebar-collapse .main_logo{
        display: none;
        }
        </style>
 
<style type="text/css">
@media print{
body {display:none;}
}
</style>            
            <header class="main-header">
    <a href="home.php" class="logo">
        <img class="main_logo" style="margin-top: 5px; height: 48px;" src="../img/arctic_logo.svg">
        <img class="icon_logo" style="margin-top: 12px; margin-left:40px;" src="../img/arctic_col.png">
        <p class="axtitle_mobile">
            <span class="span1"><b class="cgold">TECHFORCE (BD)</b><br>IT TALENT SOURCE</span>
            <span class="span2">Today, 04 Sep 2023 || আজ সোমবার, ২০ ভাদ্র ১৪৩০</span>
        </p>
    </a>

    <nav class="navbar navbar-static-top">
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button" onclick="toggle_sidebar_menu_call()">
            <span class="sr-only">Toggle navigation</span>
        </a>
        <a class="axtitle">
            <span><b class="cgold">TECHFORCE (BD)</b><br>IT TALENT SOURCE</span>
        </a>   
        <div class="navbar-custom-menu">
                        <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <li>                   
<div class="calparent">
  <div class="calchild"><input type="text" style="background-color: #053d7178;border: #053d7178;color: #FFF;" class="form-control" id="txtMenuEval" maxlength="100" placeholder="Calculator"></div>
  <div class="calchild"><input type="text" class="form-control" style="width: 70px; background-color: #053d7178;border: #053d7178;color: #FFF;" id="txtMenuEvalResult" disabled="yes"></div>
</div>
                </li>             
                <li class="welmsg">
                <div class="col-md-12">Noon, TechForce (BD)</div>
                <div class="col-md-12" style="padding-top: 2px;">Today, 04 Sep 2023 || আজ সোমবার, ২০ ভাদ্র ১৪৩০</div>
                </li>
                <li class="dropdown notifications-menu" id="noticount">
                
                </li>
                <li class="dropdown user user-menu menu-myaccount">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                <img src="data:image/png;base64, " class="user-image" alt="User Image">
                                                <span class="hidden-xs"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header" style="background-image:url(data:image/png;base64, )">
                            <p><b>TechForce (BD)</b><small>admin<br></small>
                                <span style="font-size: 10px; color: #ddd;" id="profile_last_active"></span>
                            </p>
                        </li>


                        <li class="submenus">
                            <ul class="text-center">
                                <li><a href="axe_profile.php" class="btn btn-default bg-purple btn-flat btn-sm"><i class="fa fa-user"></i> Profile</a></li>
                                <li><a href="arc_chpassword.php" class="btn btn-default bg-purple btn-flat btn-sm"><i class="fa fa-refresh"></i> Password</a></li>
                                <li><a href="../inc/logout.php" class="btn btn-default bg-purple btn-flat btn-sm"><i class="fa fa-sign-out"></i> Sign Out</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" onclick="window.location = window.location" title="Refresh Page">
                        <i class="fa fa-refresh"></i>
                    </a>

                </li>
            </ul>
        </div>
    </nav>
</header>
<aside class="main-sidebar">
<section class="arctic">
<div class="arctic-contain">   
<p class="arctic-title">ARCTIC TECHNOLOGIES</p>
</div>     
</section>    
<section class="sidebar">
<ul class="sidebar-menu tree" data-widget="tree">

<li> <a href="home.php"><i class="fa fa-dashboard ani_icon"></i> <span>Dashboard</span></a></li>
    
<li class="treeview">
<a href="#">
<i class="fa fa-edit ani_icon"></i> <span>Daily Process</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
    
<li><a href="dai_pricelist.php"><i class="fa fa-caret-right"></i>Price List</a></li>
     
<li><a href="dai_priceupdate.php"><i class="fa fa-caret-right"></i> Update Price List</a></li>
     
<li><a href="dai_expenlist.php"><i class="fa fa-caret-right"></i> Expenses Record</a></li>
     
<li><a href="dai_expensescreate.php"><i class="fa fa-caret-right"></i> Create Expenses</a></li>
     
<li><a href="dai_explist.php"><i class="fa fa-caret-right"></i> Expenses Head</a></li>
     
<li><a href="dai_expadd.php"><i class="fa fa-caret-right"></i> Add Expenses Head</a></li>
    
</ul>
</li>
    
    
<li class="treeview">
<a href="#">
<i class="fa fa-shopping-basket ani_icon"></i> <span>Purchase</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
    
<li><a href="pur_porderlist.php"><i class="fa fa-caret-right"></i> Purchase Order</a></li>
    
<li><a href="pur_pordercteate.php"><i class="fa fa-caret-right"></i> Purchase Order Create</a></li>
    
<li><a href="pur_pinvlist.php"><i class="fa fa-caret-right"></i> Purchase Invoice</a></li>
    
    
<li><a href="pur_pinvcteate.php"><i class="fa fa-caret-right"></i> Purchase Invoice Create</a></li>
 
    
<li><a href="pur_preturnlist.php"><i class="fa fa-caret-right"></i> Purchase Return</a></li>
    
    
<li><a href="pur_preturncteate.php"><i class="fa fa-caret-right"></i> Purchase Return Create</a></li>
     
</ul>
</li>

    
<li class="treeview">
<a href="#">
<i class="fa fa-shopping-bag ani_icon"></i> <span>Sales</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu">
    
<li><a href="sel_sestimatelist.php"><i class="fa fa-caret-right"></i> Sales Estimate</a></li>
    
    
<li><a href="sel_sestimatecteate.php"><i class="fa fa-caret-right"></i> Sales Estimate Create</a></li>
    
    
<li><a href="sel_sinvlist.php"><i class="fa fa-caret-right"></i> Sales Invoice</a></li>
    
    
<li><a href="sel_sinvcteate.php"><i class="fa fa-caret-right"></i> Sales Invoice Create</a></li>
    
<li><a href="sel_sreturnlist.php"><i class="fa fa-caret-right"></i> Sales Return</a></li>
    
    
<li><a href="sel_sreturncteate.php"><i class="fa fa-caret-right"></i> Sales Return Create</a></li>
    
</ul>
</li>

     
<li class="treeview">
<a href="#">
<i class="fa fa-wrench ani_icon"></i> <span>Service</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>
<ul class="treeview-menu">
    
<li><a href="ser_servicelist.php"><i class="fa fa-caret-right"></i> Service Item</a></li>
    
    
<li><a href="ser_serestlist.php"><i class="fa fa-caret-right"></i> Service Estimate</a></li>
    
<li><a href="ser_serestcre.php"><i class="fa fa-caret-right"></i> Service Estimate Create</a></li>
    
     
<li><a href="ser_serinvlist.php"><i class="fa fa-caret-right"></i> Service Invoice</a></li>
    
<li><a href="ser_serinvcre.php"><i class="fa fa-caret-right"></i> Service Invoice Create</a></li>
    
</ul>    
</li>   

    
<li class="treeview">
<a href="#">
<i class="fa fa-microchip  ani_icon"></i> <span>Warranty Management</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
    
<li><a href="war_claim.php"><i class="fa fa-caret-right"></i> Warranty Claim</a></li>
 
<li><a href="war_procheck.php"><i class="fa fa-caret-right"></i> Product Checking</a></li>
     
<li><a href="war_proreceiv.php"><i class="fa fa-caret-right"></i> Manage Product</a></li> 
 
<li><a href="war_deliverd.php"><i class="fa fa-caret-right"></i> Warranty Delivered</a></li>
 
<li><a href="war_prostcok.php"><i class="fa fa-caret-right"></i> Warranty Stock</a></li>
 
<li><a href="war_manbadstock.php"><i class="fa fa-caret-right"></i>Claim To Supplier</a></li>
    
 
<li><a href="war_service.php"><i class="fa fa-caret-right"></i> Service Center</a></li>    
</ul>   
</li>    
    
          
    
<li class="treeview">
<a href="#">
<i class="fa fa-barcode ani_icon"></i> <span>Inventory</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>    
<ul class="treeview-menu">
    
    
<li><a href="inv_whouselist.php"><i class="fa fa-caret-right"></i> Warehouse</a></li>
    
<li><a href="inv_deliverlist.php"><i class="fa fa-caret-right"></i> Product Delivery</a></li>
    
    
<li><a href="inv_receivlist.php"><i class="fa fa-caret-right"></i> Product Received</a></li>
    
<li><a href="inv_brstocklist.php"><i class="fa fa-caret-right"></i> Branch Stock</a></li>
    
<li><a href="inv_whostock.php"><i class="fa fa-caret-right"></i> Warehouse Stock</a></li>
    
<li><a href="inv_comstock.php"><i class="fa fa-caret-right"></i> Combined Stock</a></li>
    
<li><a href="inv_bratra.php"><i class="fa fa-caret-right"></i> Transfer From Branch</a></li>
    
    
<li><a href="inv_whotra.php"><i class="fa fa-caret-right"></i> Transfer From Warehouse</a></li>
    
    
<li><a href="inv_prodispos.php"><i class="fa fa-caret-right"></i> Product Disposal</a></li>  
</ul>
</li>
    
     
<li class="treeview">
<a href="#">
<i class="fa fa-handshake-o ani_icon"></i> <span>Client Setup</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">   
<li><a href="main_cutomerlist.php"><i class="fa fa-caret-right"></i> Customer List</a></li>
     
<li><a href="main_cutomercreate.php"><i class="fa fa-caret-right"></i> Add Customer</a></li>
    
<li><a href="main_supplierlist.php"><i class="fa fa-caret-right"></i> Supplier List</a></li>
     
<li><a href="main_suppliercreate.php"><i class="fa fa-caret-right"></i> Add Supplier</a></li>
    
<li><a href="main_group.php"><i class="fa fa-caret-right"></i> All Group</a></li>
    
    
<li><a href="main_groupcre.php"><i class="fa fa-caret-right"></i> Add Group</a></li>
    
</ul>
</li>
    
    
<li class="treeview">
<a href="#">
<i class="fa fa-shopping-cart ani_icon"></i> <span>Product Setup</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
    
<li><a href="pro_productlist.php"><i class="fa fa-caret-right"></i> Product List</a></li>
     
<li><a href="pro_productcreate.php"><i class="fa fa-caret-right"></i> Add New Product</a></li>
    
     
<li><a href="pro_parentlist.php"><i class="fa fa-caret-right"></i>Parent List</a></li>
    
<li><a href="pro_parentcreate.php"><i class="fa fa-caret-right"></i> Parent Create</a></li>
     
<li><a href="pro_categorylist.php"><i class="fa fa-caret-right"></i> Category List</a></li>
    
<li><a href="pro_categorycreate.php"><i class="fa fa-caret-right"></i> Category Create</a></li>
     
<li><a href="pro_subcategorylist.php"><i class="fa fa-caret-right"></i> Sub-Category List</a></li>
    
<li><a href="pro_subcategorycreate.php"><i class="fa fa-caret-right"></i> Sub-Category Create</a></li>
    
</ul>
</li>

    
<li class="treeview">
<a href="#">
<i class="fa fa-gift ani_icon"></i> <span>Set Offer &amp; Rebate</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
     
<li><a href="off_alloffer.php"><i class="fa fa-caret-right"></i>All Coupon &amp; Offer</a></li>
     
<li><a href="off_offercre.php"><i class="fa fa-caret-right"></i>Create Coupon &amp; Offer</a></li>
    
<li><a href="off_offerset.php"><i class="fa fa-caret-right"></i>Set Coupon &amp; Offer On Item</a></li>
    
<li><a href="off_rebeat.php"><i class="fa fa-caret-right"></i>Rebate Claim List</a></li>
    
<li><a href="off_rebeatcl.php"><i class="fa fa-caret-right"></i>Add Rebate Claim</a></li>    
</ul>    
</li>
    
     
<li class="treeview">
<a href="#">
<i class="fa fa-sun-o ani_icon"></i> <span>Master Setup</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
     
<li><a href="mas_brandlist.php"><i class="fa fa-caret-right"></i> Brand List</a></li>
    
<li><a href="mas_brandcreate.php"><i class="fa fa-caret-right"></i> Add Brand</a></li>
     
<li><a href="mas_manlist.php"><i class="fa fa-caret-right"></i> Manufacturer List</a></li>
     
<li><a href="mas_mancreate.php"><i class="fa fa-caret-right"></i> Add Manufacturer</a></li>
     
<li><a href="mas_unitlist.php"><i class="fa fa-caret-right"></i> Unit List</a></li>
    
<li><a href="mas_unitcreate.php"><i class="fa fa-caret-right"></i> Add Unit</a></li>
    
<li><a href="mas_currencylist.php"><i class="fa fa-caret-right"></i> Currency List</a></li>
     
<li><a href="mas_currencycreate.php"><i class="fa fa-caret-right"></i> Add Currency</a></li>
     
<li><a href="mas_countrylist.php"><i class="fa fa-caret-right"></i> Country List</a></li>
     
<li><a href="mas_countrycreate.php"><i class="fa fa-caret-right"></i> Add Country</a></li>
    
<li><a href="mas_shiplist.php"><i class="fa fa-caret-right"></i> Transporter List</a></li>
    
<li><a href="mas_shipcreate.php"><i class="fa fa-caret-right"></i> Add Transporter</a></li>
    
<li><a href="mas_colorlist.php"><i class="fa fa-caret-right"></i> Color List</a></li>
    
<li><a href="mas_colorcreate.php"><i class="fa fa-caret-right"></i> Add Color</a></li>
    
<li><a href="mas_size.php"><i class="fa fa-caret-right"></i> size</a></li>
    
    
<li><a href="mas_district.php"><i class="fa fa-caret-right"></i> District</a></li>
    
    
<li><a href="mas_zone.php"><i class="fa fa-caret-right"></i> Zone</a></li>
    
</ul>
</li>
    
     
<li class="treeview">
<a href="#">
<i class="fa fa-money ani_icon"></i> <span>Accounts Setup</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
    
<li><a href="acc_acclass.php"><i class="fa fa-caret-right"></i> Class</a></li>
     
<li><a href="acc_grouplist.php"><i class="fa fa-caret-right"></i> Group List</a></li>
     
<li><a href="acc_groupcreate.php"><i class="fa fa-caret-right"></i> Group Cteate</a></li>
     
<li><a href="acc_subgrouplist.php"><i class="fa fa-caret-right"></i> Sub-Group List</a></li>
     
<li><a href="acc_subgroupcreate.php"><i class="fa fa-caret-right"></i> Sub-Group Create</a></li>
     
<li><a href="acc_ledgerlist.php"><i class="fa fa-caret-right"></i> Ledger List</a></li>
    
<li><a href="acc_ledgercreate.php"><i class="fa fa-caret-right"></i> Ledger Create</a></li>
     
     
<li><a href="acc_paylist.php"><i class="fa fa-caret-right"></i> Payment Voucher List</a></li>
     
<li><a href="acc_paycreate.php"><i class="fa fa-caret-right"></i> Payment Voucher Create</a></li>
     
<li><a href="acc_reclist.php"><i class="fa fa-caret-right"></i> Receive Voucher List</a></li>
     
<li><a href="acc_reccreate.php"><i class="fa fa-caret-right"></i> Receive Voucher Create</a></li>
     
<li><a href="acc_joulist.php"><i class="fa fa-caret-right"></i> Journal Entry List</a></li>
    
<li><a href="acc_joulcreate.php"><i class="fa fa-caret-right"></i> Journal Entry Create</a></li>
    
</ul>
</li>

    
<li class="treeview">
<a href="#">
<i class="fa fa-credit-card ani_icon"></i> <span>Installment &amp; Loan Setup</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu">
     
<li><a href="lon_addloanid.php"><i class="fa fa-caret-right"></i> Loan ID</a></li>
    
<!--<li><a href="lon_loanman.php" ><i class="fa fa-caret-right"></i> </a></li>
 
<li><a href="lon_installm.php" ><i class="fa fa-caret-right"></i> </a></li>-->
    
</ul>
</li>
    
    
<li class="treeview menu-open">
<a href="#">
<i class="fa fa-bar-chart ani_icon"></i> <span>Finance Record</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" style="display: block;">
     
<li><a href="fin_chartofacc.php"><i class="fa fa-caret-right"></i> Chart of Account</a></li>
     
<li><a href="fin_proandlos.php" class="active"><i class="fa fa-caret-right"></i> Income Statement</a></li>
     
<li><a href="fin_trialbal.php"><i class="fa fa-caret-right"></i>Trial Balance </a></li>
     
<li><a href="fin_blasheet.php"><i class="fa fa-caret-right"></i> Balance Sheet</a></li>
     
<li><a href="fin_accanalysis.php"><i class="fa fa-caret-right"></i> Finance Analysis</a></li>
    
</ul>
</li>
    
    
<li class="treeview">
<a href="#">
<i class="fa fa-clock-o ani_icon"></i> <span>Payroll</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
     
<li><a href="payr_deplist.php"><i class="fa fa-caret-right"></i> Department List</a></li>
    
<li><a href="payr_deplcre.php"><i class="fa fa-caret-right"></i> Add Department</a></li>
    
<li><a href="payr_desiglist.php"><i class="fa fa-caret-right"></i> Designation List</a></li>
     
<li><a href="payr_desigcreate.php"><i class="fa fa-caret-right"></i> Add Designation</a></li>
     
<li><a href="payr_emplist.php"><i class="fa fa-caret-right"></i> Employee List </a></li>
     
<li><a href="payr_empcreate.php"><i class="fa fa-caret-right"></i> Add Employee</a></li>
    
<li><a href="payr_levlist.php"><i class="fa fa-caret-right"></i> Leave Type</a></li>
     
<li><a href="payr_levcreate.php"><i class="fa fa-caret-right"></i> Add Leave Type</a></li>
     
<li><a href="payr_levaplist.php"><i class="fa fa-caret-right"></i> Leave Record</a></li>
    
<li><a href="payr_levapcreate.php"><i class="fa fa-caret-right"></i> Add Leave Application</a></li>
    
<li><a href="payr_attreclist.php"><i class="fa fa-caret-right"></i> Attendance Record</a></li>
     
<li><a href="payr_payslip.php"><i class="fa fa-caret-right"></i> Salary Sheet &amp; Payslip</a></li>
    
</ul>
</li>
    
     
<li class="treeview">
<a href="#">
<i class="fa fa-credit-card-alt ani_icon"></i> <span>Bank &amp; Mobile</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
     
<li><a href="ban_banklist.php"><i class="fa fa-caret-right"></i> Bank List</a></li>
     
<li><a href="ban_bankcreate.php"><i class="fa fa-caret-right"></i> Add Bank</a></li>
    
    
<li><a href="ban_accountlist.php"><i class="fa fa-caret-right"></i> Account List</a></li>
     
<li><a href="ban_accountcreate.php"><i class="fa fa-caret-right"></i> Add Account</a></li>
    
<li><a href="ban_mobileaccount.php"><i class="fa fa-caret-right"></i> Mobile Account</a></li>    
     
<li><a href="ban_bnktranlist.php"><i class="fa fa-caret-right"></i> All Transaction</a></li>
     
<li><a href="ban_bnkcreate.php"><i class="fa fa-caret-right"></i> Add Transaction</a></li>
    
<li><a href="ban_checkman.php"><i class="fa fa-caret-right"></i> Cheque Management</a></li>
    
</ul>
</li>

    
<li class="treeview">
<a href="#">
<i class="fa fa-user ani_icon"></i> <span>Personal</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu">
     
<li><a href="axe_note.php"><i class="fa fa-caret-right"></i> Personal Note</a></li>
    
     
<li><a href="axe_todo.php"><i class="fa fa-caret-right"></i> Todo</a></li>
<li><a href="axe_event.php"><i class="fa fa-caret-right"></i> Event Manage</a></li>    
<!--<li><a href="lon_installm.php" ><i class="fa fa-caret-right"></i> </a></li>-->    
</ul>
</li>
    
    
<li> <a href="arc_report.php"><i class="fa fa-pie-chart ani_icon"></i> <span>Report</span></a></li>
    
    
<li class="treeview">
<a href="#">
<i class="fa fa-address-card-o ani_icon"></i> <span>User &amp; Role</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
     
<li><a href="rou_rolelist.php"><i class="fa fa-caret-right"></i> Role List</a></li>
     
<li><a href="rou_rolecreate.php"><i class="fa fa-caret-right"></i> Add Role</a></li>
     
<li><a href="rou_userlist.php"><i class="fa fa-caret-right"></i> All User</a></li>
    
<li><a href="rou_usercreate.php"><i class="fa fa-caret-right"></i> Add User</a></li>
<li><a href="rou_reprolecreate.php"><i class="fa fa-caret-right"></i> Add Report Role</a></li>    
    
</ul>
</li>
    
<li class="treeview">
<a href="#">
<i class="fa fa-industry ani_icon"></i> <span>Company &amp; Setting </span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">    
<li><a href="arc_company.php"><i class="fa fa-caret-right"></i> Company Setup</a></li>    
<li><a href="arc_setting.php"><i class="fa fa-caret-right"></i> Local Setting</a></li> 
<li><a href="arc_smstemp.php"><i class="fa fa-caret-right"></i> SMS Template</a></li>     
</ul>
</li>    
</ul>
</section>     
</aside>            

<div class="content-wrapper" style="min-height: 1104.75px;">
<section class="content-header">
<h1>Income Statement</h1>
<ol class="breadcrumb">
<li><a href="home.php"><i class="fa fa-dashboard"></i>Dashboard</a></li>
    
<li><a href="fin_proandlos.php">Financials</a></li>
<li class=""><a href="#">Income Statement</a></li>
</ol>
</section><!-- Main content -->
<section class="content">

<div class="row">
<div class="col-md-9">    
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Income Statement</h3>
</div>
<div class="box-body">
<div class="loader" id="wait" style="display: none;">
    <div class="square"></div>
    <div class="path">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
  <p class="text-load">Loading</p>
</div>     
<div class="col-md-12 table-responsive">
<div class="row">    
<center>
<h3 class="page-title">INCOME STATEMENT</h3>
</center>
</div>
<div class="row" id="itemdata"><div class="col-md-12">
<div class="row">
<div class="col-md-6 text-left">
<h4>FROM: 06-Aug-2023</h4>    
</div>
<div class="col-md-6 text-right">
<h4>To: 04-Sep-2023</h4>    
</div>
</div>
</div>
<div class="clearfix"></div>
<table class="table table-bordered table-hover treetable" id="item_5">   
<tbody>
<tr style="background-color:#e0f7fa;">
<td width="50%" class="bg-gray"><b>REVENUE</b></td>
<td width="16.16%" class="bg-gray"><b>Opening</b></td>
<td width="16.16%" class="bg-gray"><b>During Time</b></td>
<td width="16.16%" class="bg-gray"><b>Closing</b></td>    
</tr>    
    
    
    
    
<tr data-tt-id="56" class="table-success collapsed branch" style="color: rgb(128, 0, 128);">
<td style="padding-left:15px;"><span class="indenter" style="padding-left: 0px;"><a href="#">&nbsp;</a></span>Operating Revenue</td>
<td class="text-right">1,381,127.01</td>
<td class="text-right">92,494.00</td>
<td class="text-right">1,473,621.01</td>
</tr>
    
    
    
<tr data-tt-id="5623" data-tt-parent-id="56" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Goods Sales</td>
<td class="text-right">24,720,609.51</td>
<td class="text-right">1,087,240.00</td>
<td class="text-right">25,807,849.51</td>
</tr>
    
    
    
<tr data-tt-id="5623LE34" data-tt-parent-id="5623" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>600002: Sales Revenue</td>
<td class="text-right">24,720,609.51</td>
<td class="text-right">1,087,240.00</td>
<td class="text-right">25,807,849.51</td>
</tr>
    
    
    
<tr data-tt-id="5625" data-tt-parent-id="56" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Cost Of Goods Sold</td>
<td class="text-right">-23,339,482.50</td>
<td class="text-right">-994,746.00</td>
<td class="text-right">-24,334,228.50</td>
</tr>
    
    
    
<tr data-tt-id="5625LE14" data-tt-parent-id="5625" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>600001: Cost Of Good Sold</td>
<td class="text-right">-23,339,482.50</td>
<td class="text-right">-994,746.00</td>
<td class="text-right">-24,334,228.50</td>
</tr>
    
    
    
<tr data-tt-id="57" class="table-success collapsed branch" style="color: rgb(128, 0, 128);">
<td style="padding-left:15px;"><span class="indenter" style="padding-left: 0px;"><a href="#">&nbsp;</a></span>Non Operating Revenue</td>
<td class="text-right">8,275.00</td>
<td class="text-right">0.00</td>
<td class="text-right">8,275.00</td>
</tr>
    
    
    
<tr data-tt-id="5726" data-tt-parent-id="57" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Service Income</td>
<td class="text-right">150.00</td>
<td class="text-right">0.00</td>
<td class="text-right">150.00</td>
</tr>
    
    
    
<tr data-tt-id="5726SE32" data-tt-parent-id="5726" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>: </td>
<td class="text-right">150.00</td>
<td class="text-right">0.00</td>
<td class="text-right">150.00</td>
</tr>
    
    
    
<tr data-tt-id="5728" data-tt-parent-id="57" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Other Income</td>
<td class="text-right">8,125.00</td>
<td class="text-right">0.00</td>
<td class="text-right">8,125.00</td>
</tr>
    
    
    
<tr data-tt-id="5728LE43" data-tt-parent-id="5728" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>700007: Less Paid On Purchase</td>
<td class="text-right">6,775.00</td>
<td class="text-right">0.00</td>
<td class="text-right">6,775.00</td>
</tr>
    
    
    
<tr data-tt-id="5728LE46" data-tt-parent-id="5728" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>700008: Less Paid On Sales Return</td>
<td class="text-right">1,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">1,000.00</td>
</tr>
    
    
    
<tr data-tt-id="5728LE55" data-tt-parent-id="5728" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>700009: Commission On Sales</td>
<td class="text-right">350.00</td>
<td class="text-right">0.00</td>
<td class="text-right">350.00</td>
</tr>
    
<tr style="border-bottom:none;border-top:none;">
    <td colspan="4"></td>
</tr>    
<tr>    
<td><b>&nbsp;Total Revenue</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>1,389,402.01</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>92,494.00</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>1,481,896.01</b></td>    
</tr>    
</tbody>    
</table>
<table class="table table-bordered table-hover treetable" id="item_4">    
<tbody>
<tr style="background-color:#e0f7fa;">
<td width="50%" class="bg-gray"><b>EXPENSES</b></td>
<td width="16.16%" class="bg-gray"><b>Opening</b></td>
<td width="16.16%" class="bg-gray"><b>During Time</b></td>
<td width="16.16%" class="bg-gray"><b>Closing</b></td>    
</tr>
    
    
    
    
<tr data-tt-id="48" class="table-success collapsed branch" style="color: rgb(128, 0, 128);">
<td style="padding-left:15px;"><span class="indenter" style="padding-left: 0px;"><a href="#">&nbsp;</a></span>Direct Expense</td>
<td class="text-right">-795,912.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-795,912.00</td>
</tr>
    
    
    
<tr data-tt-id="4820" data-tt-parent-id="48" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Operating Expenses</td>
<td class="text-right">-756,217.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-756,217.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE27" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800013: Other Direct Expenses</td>
<td class="text-right">-110,765.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-110,765.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE36" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800010: Discount On Sales</td>
<td class="text-right">-862.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-862.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE37" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800009: Discount On Item</td>
<td class="text-right">-1,110.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-1,110.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE49" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800016: Product Adjustment</td>
<td class="text-right">-350.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-350.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE52" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800018: Business Promotion Expenses</td>
<td class="text-right">-2,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-2,000.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE61" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800021: Software Exp Yearly</td>
<td class="text-right">-12,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-12,000.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE62" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800022: SALARY</td>
<td class="text-right">-623,700.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-623,700.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE63" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800023: Corrir Service Exp</td>
<td class="text-right">-2,430.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-2,430.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE67" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800024: ELETRICE PRODUCT EXPENCE</td>
<td class="text-right">-1,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-1,000.00</td>
</tr>
    
    
    
<tr data-tt-id="4820LE68" data-tt-parent-id="4820" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800025: ADVERTISING EXPENCE</td>
<td class="text-right">-2,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-2,000.00</td>
</tr>
    
    
    
<tr data-tt-id="4837" data-tt-parent-id="48" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Product Adjust</td>
<td class="text-right">-39,695.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-39,695.00</td>
</tr>
    
    
    
<tr data-tt-id="4837LE50" data-tt-parent-id="4837" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>800017: Cost Of Good Damage</td>
<td class="text-right">-39,695.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-39,695.00</td>
</tr>
    
    
    
<tr data-tt-id="49" class="table-success collapsed branch" style="color: rgb(128, 0, 128);">
<td style="padding-left:15px;"><span class="indenter" style="padding-left: 0px;"><a href="#">&nbsp;</a></span>Indirect Expenses</td>
<td class="text-right">-781,782.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-781,782.00</td>
</tr>
    
    
    
<tr data-tt-id="4921" data-tt-parent-id="49" class="table-success collapsed branch" style="display: none; color: #0000A0;">
<td style="padding-left:15px;"><span class="indenter"></span>Administrative Expenses</td>
<td class="text-right">-781,782.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-781,782.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE13" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900021: Bank Charges</td>
<td class="text-right">-500.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-500.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE15" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900032: Telephones &amp; Mobile Bill</td>
<td class="text-right">-3,360.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-3,360.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE16" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900022: Electricity Bills</td>
<td class="text-right">-121,495.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-121,495.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE17" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900023: Food, Lunch &amp; Entertainments</td>
<td class="text-right">-9,010.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-9,010.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE19" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900019: Conveyances</td>
<td class="text-right">-10,920.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-10,920.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE20" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900027: Office Stationeries</td>
<td class="text-right">-30,382.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-30,382.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE21" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900020: Internet &amp; IT Expenses</td>
<td class="text-right">-12,700.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-12,700.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE23" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900025: Licences &amp; Renewals</td>
<td class="text-right">-10,500.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-10,500.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE24" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900029: Sales Commission</td>
<td class="text-right">-300.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-300.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE31" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900026: Office Rent</td>
<td class="text-right">-427,555.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-427,555.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE35" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900031: Water Bill</td>
<td class="text-right">-4,680.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-4,680.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE44" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900018: Labour &amp; Transportation</td>
<td class="text-right">-50.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-50.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE64" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900036: Director Remuneration</td>
<td class="text-right">-140,000.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-140,000.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE69" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900037: AC SERVICE CHARGE</td>
<td class="text-right">-9,010.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-9,010.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE70" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900038: MARKET IMAM </td>
<td class="text-right">-600.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-600.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE71" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900039: BKASH EXPENCE</td>
<td class="text-right">-40.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-40.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE72" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900040: FIRE REFILL</td>
<td class="text-right">-400.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-400.00</td>
</tr>
    
    
    
<tr data-tt-id="4921LE73" data-tt-parent-id="4921" class="table-success collapsed leaf" style="display: none;">
<td style="padding-left:15px;"><span class="indenter"></span>900041: NAGOD EXPENCE</td>
<td class="text-right">-280.00</td>
<td class="text-right">0.00</td>
<td class="text-right">-280.00</td>
</tr>
    
<tr style="border-bottom:none;border-top:none;">
    <td colspan="4"></td>
</tr>    
<tr>    
<td><b>&nbsp;Total Expenses</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>-1,577,694.00</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>0.00</b></td>
<td style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>-1,577,694.00</b></td>    
</tr>    
</tbody>    
</table>    
<table class="table table-bordered table-hover">
<tbody>
    
<tr class="bg-gray">
<td width="50%" style="padding-left:15px;"><b>NET INCOME</b></td>
<td width="16.16%" style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>-188,291.99</b>
</td>
<td width="16.16%" style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>92,494.00</b>
</td>
<td width="16.16%" style="text-align: right; border-top: 1px double #000000; border-bottom: 4px double #000000;"><b>-95,797.99</b>
</td>    
</tr>
</tbody>
</table>    </div>    
</div>
</div>
</div>    
</div>
<div class="col-md-3">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header">
<h3 class="box-title">Filter</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="col-md-12 popup_details_div">
<div class="col-md-1"></div>
<div class="col-md-10">    
<div class="form-group">
<label>From:</label>
<div class="input-group">
<span class="input-group-addon"><span class="fa fa-calendar"></span></span>
<input type="text" maxlength="18" class="form-control datetimepicker" id="stdate" placeholder="From Date" autocomplete="off" readonly="">
</div>
</div>
<div class="form-group">
<label>To:</label>
<div class="input-group">
<span class="input-group-addon"><span class="fa fa-calendar"></span></span>
<input type="text" maxlength="18" class="form-control datetimepicker" id="endate" placeholder="End Date" autocomplete="off" readonly="">
</div>
</div>
</div>    
<div class="col-md-1"></div>    
</div>
<div class="clearfix"></div>
<div class="col-md-12 nopadding widgets_area"></div>    
<div class="row" style="margin-top: 15px">
<div class="col-md-6"></div>
<div class="col-md-6 text-right">
<input type="button" id="reset" class="btn btn-flat bg-red btn-sm " value="Reset">    
<input type="button" id="plview" class="btn btn-flat bg-purple btn-sm" value="Submit">
</div> 
</div>    
</div>
</div>
</div>
</div>    
</div>
</div>    

<div class="quickslide">
<div class="quicktoggle">☰</div>
<div class="quickbox">
<div class="quick">
     
<a href="sel_sinvcteate.php"><div class="quickLink"><img src="../img/quick/arc_sales.png" alt="Sales"><span>Sales</span></div></a>
    
<a href="ser_serinvcre.php"><div class="quickLink"><img src="../img/quick/arc_service.png" alt="Service Sale"><span>Service</span></div></a>
    
    
<a href="sel_sreturncteate.php"><div class="quickLink"><img src="../img/quick/arc_sreturn.png" alt="Sales Return"><span>Sales Return</span></div></a>
    
    
<a href="pur_pinvcteate.php"><div class="quickLink"><img src="../img/quick/arc_purchase.png" alt="Purchase"><span>Purchase</span></div></a>
    
    
<a href="pur_preturncteate.php"><div class="quickLink"><img src="../img/quick/arc_preturn.png" alt="Purchase Return"><span>Purchase Return</span></div></a>
    
    
<a href="pro_productcreate.php"><div class="quickLink"><img src="../img/quick/arc_addpro.png" alt="Add Product"><span>Add Product</span></div></a>
    
    
<a href="dai_expensescreate.php"><div class="quickLink"><img src="../img/quick/arc_expenses.png" alt="Expenses"><span>Expenses</span></div></a>
    
    
<a href="acc_reccreate.php"><div class="quickLink"><img src="../img/quick/arc_cash.png" alt="Cash Received"><span>Cash Received</span></div></a>
    
    
<a href="acc_paycreate.php"><div class="quickLink"><img src="../img/quick/arc_payment.png" alt="Cash Payment"><span>Cash Payment</span></div></a>
     
<a href="rep_dailycashst.php"><div class="quickLink"><img src="../img/quick/arc_cashst.png" alt="Cash Statement"><span>Cash Statement</span></div></a>
    
    
<a href="war_claim.php"><div class="quickLink"><img src="../img/quick/arc_warranty.png" alt="Warranty Claim"><span>Warranty Claim</span></div></a>
    
    
<a href="inv_brstocklist.php"><div class="quickLink"><img src="../img/quick/arc_inventory.png" alt="Inventory"><span>Inventory</span></div></a>
    
</div>
</div>
<div class="quickser">
<div class="form-group">  
<div class="input-group">
<span class="input-group-addon"><span class="fa fa-search"></span></span>
<input type="text" class="form-control" id="glsearch" placeholder="e.g. Invoice No, Product Code Or Serial" autocomplete="off">    
</div>
</div>     
</div>    
</div>

<style>
#context-menu {
  position: fixed;
  z-index: 10000;
  width: 200px;
  background: #FFF;
  border-radius: 1px;
  transform: scale(0);
  transform-origin: top left;
}

#context-menu.visible {
  transform: scale(1);
  transition: transform 200ms ease-in-out;
}

#context-menu .item {
  padding: 8px 10px;
  font-size: 15px;
  color: #000;
  cursor: pointer;
  border-radius: inherit;
}

#context-menu .item:hover {
  background: ghostwhite;
}
</style>
<div id="context-menu">
<div class="item" onclick="opwn_page_link('T',linkUrl)">Open in new tab</div>
<div class="item" onclick="opwn_page_link('W',linkUrl)">Open in new windows</div>
</div>    
</section>
<!-- /.main content -->    
</div>

<style>
.kchatslide{
  position: fixed;
  bottom:37px;
  z-index: 98888;    
  background: #00305d;
  width: 300px; 
  right: -300px;
  height: 400px;
  transition: right 0.4s ease-in-out;
  -o-transition: right 0.4s ease-in-out;
  -ms-transition: right 0.4s ease-in-out;
  -moz-transition: right 0.4s ease-in-out;
  -webkit-transition: right 0.4s ease-in-out;
}
.kchattoggle{
  position: absolute;
  bottom: 14px;
  width: 60px;
  height: 32px;
  right: 287px;
  padding: 6px;
  background: #f39c12;
  border-color: #e08e0b;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;    
  color: #fff;
  cursor: pointer;    
}
.kchatbox {
  padding: 10px;
  background: #00305d;
  border-color: #00305d;    
}
.kchatslide-open{
  right: 0px;
}
.chat_con{
height: 348px;
background: #222d32;
color: #fff;    
overflow: hidden;
overflow-y: auto;       
}
    
.subpanel_title {
    padding-top: 4px;
    line-height: 21px;
    padding-left: 10px;
    padding-right: 10px;
}
.subpanel_title {
    background: #1d4a88;
    color: #FFFFFF;
}
.subpanel_title {
    background: #00b0ff;
    color: #fff;
}
.subpanel_title {
    cursor: pointer;
    font-weight: bold;
    padding: 3px 4px 3px 8px;
    font-size: 17px;
    display: block;
    height: 30px;
    overflow: hidden;
}
.subpanel_title span.options {
    width: 12px;
    height: 12px;
    display: none;
}
.subpanel_title span {
    filter: alpha(opacity=100);
    opacity: 1;
    -moz-opacity: 1;
    font-size: 17px;
    font-weight: bold;
    float: right;
    line-height: 1.7em;
    padding: 2px 0 1px 1px;
}
.subpanel_title .minusicon:hover {
    color: #060;
}
.subpanel_title span.min {
    padding: 0;
}
    
.chat_options {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.chat_options {
    height: 37px;
}
.chat_options {
    overflow: hidden;
    position: relative;
}
.chat_options .drupalchat-self-profile {
    display: inline-block;
    height: 37px;
    width: 78%;
}
.chat_options .drupalchat-self-profile .drupalchat-self-profile-div {
    display: inline-block;
    width: 32px;
}
.chat_options .drupalchat-self-profile .drupalchat-self-profile-div .drupalchat-self-profile-img img {
    margin: 3px 0 4px 10px;
    float: left;
    height: 28px;
    width: 28px;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;
}
.localhost-avatar-sprite-28.R_3 {
    background-position: -56px -476px;
    width: 28px;
    height: 28px;
}
.chat_options .drupalchat-self-profile .drupalchat-self-profile-namdiv {
    display: inline-block;
    width: 70%;
    padding: 0;
    margin: 0;
    height: 100%;
    padding-left: 3px;
}
.chat_options .drupalchat-self-profile .drupalchat-self-profile-namdiv .drupalchat-profile-un {
    display: inline;
    border: 0;
    padding: 0;
    margin-left: 7px;
    margin-top: 11px;
    position: absolute;
    float: left;
    width: 118px;
    font-size: 13px;
    overflow: hidden;
    cursor: pointer;
    font-weight: bold;
}
.chat_options a {
    border-left: 1px solid #999;
    color: #333;
}
.chat_options a {
    float: right;
    padding: 3px 8px 3px 3px;
    width: 18px;
    height: 18px;
}
.chat_options .drupalchat-usermenu {
    height: 37px;
    display: inline-block;
    cursor: pointer;
    width: 22%;
}
.chat_options .drupalchat-usermenu .drupalchat-usermenu-img {
    color: #333;
}
.chat_options .drupalchat-usermenu .drupalchat-usermenu-img {
    padding-top: 8px;
    padding-left: 0;
    float: left;
    font-size: 22px;
}
.chat_options .drupalchat-usermenu a {
    display: block;
    position: absolute;
    height: 37px;
    width: 10%;
    border: 0;
    padding: 0;
    margin-left: 26px;
}
.chat_options span.status-1 {
    background: url(../img/online.png) no-repeat left;
}
.chat_options a {
    border-left: 1px solid #999;
    color: #333;
}
.chat_options a {
    float: right;
    padding: 3px 8px 3px 3px;
    width: 18px;
    height: 18px;
}
    
.chat_options .drupalchat-self-profile .drupalchat-self-profile-div .drupalchat-self-profile-img img {
    margin: 3px 0 4px 10px;
    float: left;
    height: 28px;
    width: 28px;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;
}

.statuso {
    display: inline;
    width: 0px;
    height: 21px;
    float: right;
    padding-top: 10px;
}
.statuso.Online {
    color: green;
}
.statuso.Offline {
    color: gray;
}    
    
.drupalchat_search {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.drupalchat_search {
    overflow: hidden;
    position: relative;
}
.drupalchat_search .drupalchat_searchinput {
    background: #f9f9f9;
}
.drupalchat_search .drupalchat_searchinput {
    height: 30px;
    outline: 0;
    vertical-align: middle;
    margin-left: 7px;
    border: 0;
    font-size: 12px;
}
.drupalchat_search .searchbutton {
    background: url(../chat/chatcss/img/searchb.png) no-repeat center;
    width: 14px;
    height: 14px;
    float: right;
    filter: none;
}
.contact-list {
    width: 348px;
    height: 303px;
    overflow-y: scroll;
    background-color: #eceff1;
}

.chatboxcontent{
    width: 100%;padding: 0;
}    

.chatboxcontent{
    overflow-y: auto;
    overflow-x: hidden;
    height: 303px;
}    
    
.chat_box. img {
    float: left;
    height: 28px;
    width: 28px;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;
}    
</style>    
<div class="kchatslide" id="kchatslide">
<div class="kchattoggle rotate" id="kchat">Chat</div>
<!--Contact List end-->
<div class="chat_box">    
<div class="subpanel_title">Chat<span class="options"></span>
<div class="material-switch pull-right" style="margin-left: 10px;">
<input id="chaton" type="checkbox">
<label for="chaton" class="label-success"></label>
</div>    
<span class="min localhost-icon-minus-1" id="minmaxchatlist"><i class="fa fa-minus-circle minusicon text-20" aria-hidden="true"></i></span>
<span>&nbsp;&nbsp;</span>
<span class="min localhost-icon-minus-1" id="mute-sound"><i class="icon icon-volume-off"></i></span>
</div>
    
<div class="chat_options" style="background-color: #eceff1;">
<div class="drupalchat-self-profile">
<div class="drupalchat-self-profile-div">
<div class="drupalchat-self-profile-img + localhost-avatar-sprite-28 1_3">
<img src="../img/user/duser.jpg">
</div>
</div>
<div class="drupalchat-self-profile-namdiv">
<a class="drupalchat-profile-un drupalchat_cng">TechForce (BD)</a>
</div>

</div>

</div>
<div class="drupalchat_search_main chatboxinput" style="background:#f9f9f9">
<div class="drupalchat_search" style="height:30px;">
<input class="drupalchat_searchinput live-search-box" placeholder="Type here to search" value="" size="24" type="text">
<input class="searchbutton" value="" style="height:30px;border:none;margin:0px; padding-right:13px; vertical-align: middle;" type="submit"></div>
</div>

<div class="contact-list chatboxcontent" id="chat_list"></div>
</div>    
<!--Contact List end-->

<!--This div for modal light box chat box image-->
<table id="lightbox" style="display: none;height: 100%">
<tbody><tr>
<td height="10px"><p><img src="../chat/images/close-icon-white.png" width="30px" style="cursor: pointer"></p></td>
</tr>
<tr>
<td valign="middle"><div id="content"><img src="#"></div></td>
</tr>
</tbody></table>
<!--This div for modal light box chat box image-->
</div><style>
.glslide{
  position: fixed;
  bottom:37px;
  z-index: 98899;    
  background: #00305d;
  width: 450px; 
  right: -450px;
  height: 650px;
  padding: 10px 10px;    
  transition: right 0.4s ease-in-out;
  -o-transition: right 0.4s ease-in-out;
  -ms-transition: right 0.4s ease-in-out;
  -moz-transition: right 0.4s ease-in-out;
  -webkit-transition: right 0.4s ease-in-out;
}
.gltoggle{
  position: absolute;
  bottom: 80px;
  width: 65px;
  height: 32px;
  right: 435px;
  padding: 6px;
  background: #ff0000;
  border-color: #ff0000;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;    
  color: #fff;
  cursor: pointer;    
}

.condetails {
  max-height: 580px;
  overflow-y: auto;        
}    
    
.glbox {
  padding: 10px;
  background: #00305d;
  border-color: #00305d;    
}
.glslide-open{
  right: 0px;
}
</style>
<div class="glslide" id="glslide">
<div class="gltoggle rotate" id="glbox">Product</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="form-group">
<div class="input-group">    
<input type="text" class="form-control form-control-lg" id="gltextsearch" placeholder="Search by Name, Model, Code" autocomplete="off">
<span class="input-group-addon"><a id="glprosearch" style="cursor: pointer;"><span class="fa fa-search"></span></a></span>    
</div>
</div>
</div>    
</div>
<div id="glseardet" class="condetails style-2">
<div class="col-md-12">
<table class="table  table-striped table-bordered">
<thead style="text-transform: uppercase;background-color: #eee">
<tr>
<th width="30">No</th>
<th width="100">SKU</th>
<th>Name</th>
<th>Quantity</th>
<th width="80">Details</th>
</tr>
</thead>
<tbody id="prodetails">

</tbody>
</table>
</div>    
</div>    
</div>
<script type="text/javascript">    
function pdr_details(id,obj) {
$('.details_tr').remove();
$.ajax({
type: "POST",
url: "axe_prodet.php",
cache: false,
data: {pdetails: 1, 'id': id},
timeout: 15000,
success: function (data){
var html='<tr class="details_tr " style="background: #ddd;display:none"><td colspan="5"><p class="text-right" style="color: #337ab7;text-decoration: none;padding-r: 10px;padding-right: 16px;cursor: pointer;"><a onclick="close_window(this)"><i class="fa fa-close"></i> Close</a></p>'+data+'</td></tr>';
$(html).insertAfter($(obj).closest('tr'));
$('.details_tr').fadeIn('slow');
},
error: function (jqXHR, textStatus, errorThrown) {
}
});

}
function close_window(obj){
$('.details_tr').fadeOut('slow');
$(obj).closest('tr').remove();
}
</script><aside class="right-side-free">
<section class="side-cont">
<div class="side-head">    
<div class="row"> 
<div class="col-md-12">
<div class="col-md-2 text-left">
<button class="btn btn-flat bg-teal" id="printfree"><i class="fa fa-print"></i></button>
</div>    
<div class="col-md-8 text-right"></div>
<div class="col-md-2 text-right">
<button class="btn btn-flat bg-red" id="closefree"><span><i class="fa fa-times"></i></span></button>
</div>    
</div>
</div>    
</div>
<div class="box box-solid" id="rsfree">
<div class="box-body">
<div class="col-md-12">    
<div class="row" id="datacon">
    
</div>
</div>    
</div>
</div>
<div class="box box-solid" id="approitem" style="display:none;">
<div class="box-body">   
<div class="row"> 
<div class="col-md-12">
<div class="col-md-3">
<div id="test-list" class="notebooks">
<input type="text" class="search">
<ul class="list" id="appitem">
          
</ul>
    
<div class="whole">
<span><a class="pagination-prev disabled" href="#">
&lt;&lt;
</a>
<ul class="pagination-layout"></ul>
<a class="pagination-next" href="#">
&gt;&gt;
</a></span>
</div>
</div>    
</div>    
<div class="col-md-9">
<div class="invhold scrol-y" id="appinvhold">    

</div>
</div>     
</div>
</div>    
</div>
</div>    
</section>    
</aside>     
<footer class="main-footer">
© 2010 - 2023. <a href="http://arcticbd.com" target="_blank">Arctic Technologies</a> - All Rights Reserved.<span class="footright"><i class="fa fa-heart" style="color: red;"></i> Cloud Software Suite by True Engineers</span>
<!--<marquee id="scroll_news" direction="right" scrollamount="3" style="font-family:'Bank Gothic';font-size: 16px;color: #030303;position: absolute;width: 650px; width: calc(100% - 870px); margin-left: 30px; margin-right: 30px;" bgcolor="#FFF"><span onmouseover="document.getElementById('scroll_news').stop();" onmouseout="document.getElementById('scroll_news').start();">Software support please call +880 1727 368164...</span></marquee>-->
</footer>
<div class="modal holds-the-iframe" id="modal-default" style="z-index: 1500">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header ">
                <a class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-close"></i></a>
                <h4 class="modal-title">&nbsp;</h4>
                <input type="hidden" id="callback">
            </div>
            <div class="modal-body ">
                <iframe src="" frameborder="0" id="modal_default_iframe"></iframe>
            </div>
        </div>
    </div>
</div>

<div class="modal fade modal-msg">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header ">
                <h4 class="modal-title">Alert</h4>
            </div>
            <div class="modal-body"><p></p></div>
            <div class="modal-footer">
                <span class="modal-msg-url hidden"></span>
                <a class="btn btn-flat bg-purple" onclick="close_toaster()">OK</a>
            </div>
        </div>
    </div>
</div>

<div class="modal fade modal-confirm" style="z-index: 1151;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header ">
                <h4 class="modal-title">Confirm</h4>
            </div>
            <div class="modal-body"><p></p></div>
            <div class="modal-footer">
                <a class="btn btn-flat bg-purple" data-dismiss="modal" aria-label="Close" onclick="confirmbox('', '', this)">OK</a>
                <a class="btn btn-flat bg-gray" data-dismiss="modal" aria-label="Close">Cancel</a>
                <input type="hidden" id="urlpath" value="">
            </div>
        </div>
    </div>
</div>

<div id="modal-activity-log" class="modal fade modal-activity-log">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header ">
                <h4 class="modal-title">Activity Log</h4>
            </div>
            <div class="modal-body"></div>
            <div class="modal-footer">
                <a class="btn btn-flat bg-gray" data-target="modal-activity-log" data-dismiss="modal" aria-label="Close">Close</a>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="bcast-modal" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header"><h4 class="modal-title"></h4>
            </div>
            <div class="modal-body"></div>
            <div class="modal-footer">
                <input type="hidden" value="" id="bcast_id">
                <a class="btn btn-flat bg-gray btn-sm" onclick="confirm_broadcast(0)">Decline</a> 
                <a class="btn btn-flat bg-purple btn-sm" onclick="confirm_broadcast(1)">Accept</a>
            </div>
        </div>
    </div>
</div>


<div id="logout_reminder_modal" class="modal fade">
    <div class="modal-dialog" style="top: 30%;">
        <div class="modal-content">

            <div class="modal-body" style="min-height: 300px;    background: #00a3e3;">
                <div class="row">
                    <div class="col-md-12">
                        <p class="text-center"><a style="color: #fff;font-size: 81px;"><i class="fa fa-clock-o"></i></a></p>
                        <p style="color: #fff;    font-size: 15px;text-align: center">TechForce (BD)!!! You will be logged out in <span class="logout_interval" style="font-size:25px">15 minutes</span> due to inactivity.<br>If you wish to continue with this session please click on Renew<br><br></p>
                        <p class="text-center"><a class="btn btn-flat bg-purple" onclick="renew_session()">Renew Session</a> <a class="btn btn-flat bg-gray" href="../inc/logout.php">Logout</a></p>

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

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

<div id="modal-support" class="modal fade common_modal" role="dialog">
    <div class="modal-dialog modal-sm" style="width:1000px;">
        <!-- Modal content-->
        <div class="modal-content"></div>
    </div>
</div>


<div class="popup-box chat-popup" id="qnimate"></div>
<div class="modal fade " id="chat_modal" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content"></div>
    </div>
</div>


<div class="modal fade " id="file_upload_modal" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content"></div>
    </div>
</div>
<div class="modal fade common_modal " id="public_modal" role="dialog">
    <div class="modal-dialog  modal-sm">
        <div class="modal-content"></div>
    </div>
</div>
<div id="view_msg" class="modal fade common_modal" data-toggle="modal" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog modal-sm" style="width:500px;">
        <!-- Modal content-->
        <div class="modal-content" style="margin-top:300px;"></div>
    </div>
</div></div>
<!-- ./wrapper -->
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery-ui.min.js"></script>
<script src="../js/bootstrap-datepicker.js?V=1.0"></script>
<script src="../plugins/checkedit/ckeditor.js"></script>
<script src="../js/bootbox.min.js"></script>
<script src="../plugins/piker/spectrum.js"></script>
<script src="../plugins/datatable/jquery.dataTables.js"></script>
<script src="../plugins/datatable/dataTables.bootstrap.js"></script>
<script src="../plugins/treetable/js/jquery.treetable.js"></script>
<script src="../plugins/select/select2.js"></script>
<script src="../js/arctic.js?V=1.0"></script>
<script src="../js/common.js?V=1.0"></script>
<script src="../js/jquery.PrintArea.js"></script>
<script src="../js/arctic-scanner.js"></script>
<script src="../plugins/notify/notify.js"></script>
<script src="../plugins/list/list.min.js"></script>
<script src="../plugins/list/list.pagination.min.js"></script>
<script src="../plugins/toastr/toastr.min.js"></script>
<script src="../plugins/tinymce/js/tinymce/tinymce.min.js"></script>
<script src="../plugins/livevalidation/live_validation.js"></script>
<script src="../js/parsley.js"></script>
<script type="text/javascript">
var siteurl = '';
var chatmod = 'off';
var chat;
var chatlist;    
var session_uname = '1';
var session_img = '';
</script>
<!-- Media Uploader -->
<script type="text/javascript" src="../chat/smiley/js/emojione.min.js"></script>
<script type="text/javascript" src="../chat/smiley/smiley.js"></script>
<script type="text/javascript" src="../chat/chatjs/lightbox.js"></script>
<script type="text/javascript" src="../chat/chatjs/chat.js"></script>
<script type="text/javascript" src="../chat/chatjs/custom.js"></script>
<script type="text/javascript" src="../chat/uploader/plupload.full.min.js"></script>
<script type="text/javascript" src="../chat/uploader/jquery.ui.plupload/jquery.ui.plupload.js"></script>
 
<script type="text/javascript">
var arctic_PAGE_TITLE = document.title;
$(document).ready(function () {

$('body').on("click", ".notifi_delete", function () {
delete_notification(this, 1);
});
$('body').on("click", ".notifi_clear_all", function () {
delete_notification(this, 2);
});

$('body').on("click", ".notifications-menu .dropdown-menu", function (e) {
e.stopPropagation();
});
$('.notifications-menu').on('show.bs.dropdown', function () {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown();
});
$('.notifications-menu').on('hide.bs.dropdown', function () {
$(this).find('.dropdown-menu').first().stop(true, true).slideUp();
});

$('body').on("click", ".delete_confirm", function () {
var msg = $(this).data("msg");
var url = $(this).prop('href');

confirmbox(msg, url);
return false;
});
$('body').on("click", ".popup", function () {
popup(this);
return false;
});

$("#modal-default").on("hidden.bs.modal", function () {
var callback = $('#callback').val();
if (callback)
excecute_callback(callback);
$('#callback').val('');
});

check_window_is_child();
        
toggle_sidebar_menu();
    
document.getElementById('modal_default_iframe').onload = function () {
$('.holds-the-iframe .modal-body').addClass('hideBg');
};

$("#txtMenuEval").keypress(function(e) {
if(e.which == 13) {
var result = eval($('#txtMenuEval').val());
result = parseFloat(result);
$('#txtMenuEvalResult').val( result.toFixed(2) );
// $('#txtEvalResult').text().toFixed(2);

}
});

$("#txtMenuEval").focus(function () {
$(this).select();
});    
    
});
    
setTimeout(function() {
$('#mymsg').fadeOut('fast');
$.ajax({
url: 'msg.php',
type: 'post',
data: {shows:1},
//dataType: 'json',
success:function(data) {
}
});    
}, 3000); // <-- time in milliseconds


function toggle_sidebar_menu_call(){
    
}
    
function check_window_is_child() {
if (window.self !== window.top) {
//$('.main-header,.main-sidebar,.main-footer').hide();
//$('.content-wrapper, .main-footer').css({'margin-left': '0'});
//$('.skin-purple .wrapper, .skin-purple .main-sidebar, .skin-purple .left-side').css({'background-color': '#ecf0f5'});
} else {
           
}   
}

$(document).bind("keyup keydown", function(e) {
if (e.ctrlKey && e.keyCode == 80) {
var isPrint = document.getElementsByClassName('printableArea');
if (typeof(isPrint) != 'undefined' && isPrint != null){    
var mode = 'iframe'; //popup
var close = mode == "popup";
var options = {
mode: mode,
popClose: close
};    
$("div.printableArea").printArea(options);          
return false;
}else{
return false;    
}
}    
});    
    
function popup(obj) {
$('.holds-the-iframe .modal-body').removeClass('hideBg');
var modal_title = $(obj).data('title');
$('#modal-default .modal-title').text(modal_title);
$('#modal-default .modal-body iframe').prop('src', '');
$('#modal-default .modal-body iframe').contents().find("body").html("");
var urllink = $(obj).prop('href');
$('#modal_default_iframe').hide();
$('#modal-default .modal-body iframe').prop('src', urllink);
var callback = $(obj).data("callback");
$('#callback').val(callback);
$("#modal-default").modal();
setTimeout(function () {
$('#modal_default_iframe').show();

}, 1500);
return false;
}
    
function popup_open(data) {
$('.holds-the-iframe .modal-body').removeClass('hideBg');
$('#modal-default .modal-body iframe').prop('src', '');
$('#modal-default .modal-body iframe').contents().find("body").html("");
$('#modal_default_iframe').hide();

$('#modal-default .modal-body iframe').prop('src', data['src']);
$('#modal-default .modal-title').text(data['title']);
$('#callback').val(data['callback']);
$("#modal-default").modal();
setTimeout(function () {
$('#modal_default_iframe').show();

}, 1500);

}

function toaster(msg) {
$('.modal-msg .modal-body').html(msg);
$('.modal-msg').modal({backdrop: 'static', keyboard: false});
}
   
function toaster2(msg, url) {
$('.modal-msg .modal-msg-url').text('');
if (url)
$('.modal-msg .modal-msg-url').text(url);
$('.modal-msg .modal-body').html(msg);
$('.modal-msg').modal({backdrop: 'static', keyboard: false});
}
    
function close_toaster() {
try {
var modal_msg_url = $('.modal-msg .modal-msg-url').text();

$('.modal-msg').modal('hide');
if (modal_msg_url && modal_msg_url != '' && modal_msg_url != null) {
window.location.href = modal_msg_url;
}
} catch (exception) {
alert(exception);
}

}
    
function confirmbox(msg, url, obj) {
if (obj) {
url = $('.modal-confirm #urlpath').val();
if (url && url != 'undefined') {
window.location = url;
}
} else {

$('.modal-confirm .modal-body p').text(msg);
$('.modal-confirm #urlpath').val(url);
$('.modal-confirm').modal({backdrop: 'static', keyboard: false});
}
}
    
var myFunction = function () {
window.focus();
};

function toggle_sidebar_menu(key)
{
if (key == 1) {
$('.sidebar-mini').addClass('sidebar-collapse');
} else {
$('.sidebar-mini').removeClass('sidebar-collapse');
}
}
    
function CheckEmailVal(email, check_val) {
try {
var result = true;
if (email) {
email = email.split(",");
for (var i = 0; i < email.length; i++) {
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,8}|[0-9]{1,3})(\]?)$/;
result = expr.test(email[i]);
}

} else if (check_val > 0 && !email) {
var result = false;
}
return result;
} catch (exception) {
return false;
}

}

function excecute_callback(callback) {
switch (callback) {
case 'refresh_dashboard':
refresh_dashboard();
break;
default:
break;
}
}    
    
function isNumberKey(evt){
var charCode = (evt.which) ? evt.which : evt.keyCode
if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
    
$('.datetimepicker').datepicker({format: "yyyy-mm-dd", autoclose: true, clearBtn: true, orientation: 'auto bottom'});    
/* Select2 Init*/
$(".select2").select2();

    
//Barcode
var bscode='';    
$(document).scannerDetection({
timeBeforeScanTest: 200, 
//startChar: [120],
endChar: [13],
avgTimeByChar: 30,
onComplete: function(barcode,event){ 
bscode = barcode;   
$.ajax({
url: 'arc_globalview.php',
method: "POST",
data:{sbcode: bscode},
success: function(data){
var foundSomething = false;
for(var i=0; i<data.length; ++i) {
if(data[i] !== null) foundSomething = true;
break;
}    
if(foundSomething){
$('#datacon').html(data);   
$('.right-side-free').toggle('slide', { direction: 'right' }, 300);
}
}
});    
},
onKeyDetect: function(event){
//if(event.keyCode === 13 || event.keyCode === 17 || event.keyCode === 74 ){
//if (event.target.tagName == "INPUT" || event.target.tagName == "TEXTAREA") {
//if(bscode.length>1){
//event.preventDefault();    
//}    
//}else{
//event.preventDefault();    
//}  
//}
}
});   

$(document).on('keydown', '#glsearch', function() {
var inv = document.getElementById("rsfree");
var apv = document.getElementById("approitem");
    
$('#glsearch' ).autocomplete({
source: function( request, response ) {
$.ajax({
url: 'arc_cart.php',
type: 'post',
dataType: 'json',
data: {
search: request.term,glsearch:1
},
success: function(data) {
response(data);
}
});
},
select: function (event, ui) {
var te='';
$(this).val(te); // display the selected text
var glval = ui.item.value; // selected id to input

$.ajax({
url: 'arc_globalview.php',
method: "POST",
data:{sbcode: glval},
success: function(data){
var foundSomething = false;
for(var i=0; i<data.length; ++i) {
if(data[i] !== null) foundSomething = true;
break;
}    
if(foundSomething){
apv.style.display = "none";    
$('#appitem').html('');
$('#appinvhold').html('');    
inv.style.display = "block";    
$('#datacon').html(data);   
$('.right-side-free').toggle('slide', { direction: 'right' }, 300);
}
}
});
return false;
}
});    
});

$(document).on('click', '.invdetails', function () {
var inv = document.getElementById("rsfree");
var apv = document.getElementById("approitem");    
var invno = $(this).attr('invno');    
$.ajax({
url: 'arc_globalview.php',
method: "POST",
data:{sbcode: invno},
success: function(data){
var foundSomething = false;
for(var i=0; i<data.length; ++i) {
if(data[i] !== null) foundSomething = true;
break;
}    
if(foundSomething){
apv.style.display = "none";    
$('#appitem').html('');
$('#appinvhold').html('');    
inv.style.display = "block";    
$('#datacon').html(data);   
$('.right-side-free').toggle('slide', { direction: 'right' }, 300);
}    
}
});    
});    
    
var linkUrl = '#';
const normalizePozition = (mouseX, mouseY) => {
  // ? compute what is the mouse position relative to the container element (scope)
  const {
    left: scopeOffsetX,
    top: scopeOffsetY,
  } = scope.getBoundingClientRect();

  const scopeX = mouseX - scopeOffsetX;
  const scopeY = mouseY - scopeOffsetY;

  // ? check if the element will go out of bounds
  const outOfBoundsOnX =
    scopeX + contextMenu.clientWidth > scope.clientWidth;

  const outOfBoundsOnY =
    scopeY + contextMenu.clientHeight > scope.clientHeight;

  let normalizedX = mouseX;
  let normalizedY = mouseY;

  // ? normalzie on X
  if (outOfBoundsOnX) {
    normalizedX =
      scopeOffsetX + scope.clientWidth - contextMenu.clientWidth;
  }

  // ? normalize on Y
  if (outOfBoundsOnY) {
    normalizedY =
      scopeOffsetY + scope.clientHeight - contextMenu.clientHeight;
  }

  return { normalizedX, normalizedY };
};    
    
const contextMenu = document.getElementById("context-menu");    
const scope = document.querySelector("body");    
scope.addEventListener("click", (e) => {
if (e.target.offsetParent != contextMenu) {
contextMenu.classList.remove("visible");
}
});
    
function arpianDisableClick() {
if (document.all) {
return false;
}
}

function opwn_page_link(type,link){
contextMenu.classList.remove("visible");
if(type==='T'){    
window.open(link, '_blank');
}else{
var windowFeatures = "resizable,scrollbars,status";    
window.open(link, "_blank", windowFeatures);    
}    
}    
    
function arpianNoRightClick(e) {
let item = e.target;    
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {
if (item.getAttribute("href") || (item.parentNode && item.parentNode.getAttribute("href"))) {    
if(item.parentNode && item.parentNode.getAttribute("href")){
linkUrl = item.parentNode.getAttribute("href");    
}else{
linkUrl = item.getAttribute("href");    
}

const { clientX: mouseX, clientY: mouseY } = event;
const { normalizedX, normalizedY } = normalizePozition(mouseX, mouseY);

contextMenu.style.top = `${normalizedY}px`;
contextMenu.style.left = `${normalizedX}px`;

contextMenu.classList.remove("visible");
setTimeout(() => {
contextMenu.classList.add("visible");
});   
}    
return false;}
}
}
    
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=arpianNoRightClick;
} else{
document.onmouseup=arpianNoRightClick;
document.oncontextmenu=arpianDisableClick;
}
document.oncontextmenu=new Function("return false")

document.addEventListener('contextmenu', event => event.preventDefault());
document.onkeydown = function(e) {
//e.keyCode === 67 || e.keyCode === 86 ||    
if (e.ctrlKey && (e.keyCode === 85 || e.keyCode === 117)) {
return false;
} else {
return true;
}
};
$(document).keypress("u",function(e) {
if(e.ctrlKey)
{
return false;
}
else
{
return true;
}
});

$(document).keydown(function (event) {
if (event.keyCode == 123) { // Prevent F12
return false;
} else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) {
return false;
}
});    
    
    
$(document).on('click', '#glbox', function() {
if($('.glslide').hasClass('glslide-open')){
$('.glslide').removeClass('glslide-open');
$('#prodetails').html('');    
}else{
$('.glslide').addClass('glslide-open');     
}        
});    
    

$(document).on('click', '#kchat', function() {
if($('.kchatslide').hasClass('kchatslide-open')){
$('.kchatslide').removeClass('kchatslide-open');    
}else{
$('.kchatslide').addClass('kchatslide-open');     
}        
});
    
$(document).on('change', '#chaton', function () {
var chkid = 0;	
$('#chaton').not(this).prop('checked', false);
if ($('#chaton').is(":checked")){
chkid = 1;
}else{
chkid = 0;	
}

$.ajax({
url: 'arc_chatcart.php',
method: "POST",
data: {
check: chkid
},
dataType: 'json',    
success: function(data) {
chatmod=data.status;
if(chatmod==='on'){
chatclientlist();    
startChatSession();   
}else{
for (i=0;i<chatBoxes.length;i++) {
chatboxtitle = chatBoxes[i];
closeChatBox(chatboxtitle);    
}
clearTimeout(chatlist);
$('#chat_list').html('');    
clearTimeout(chat);
}    
}
});
});
    

$(document).on('click', '#glprosearch', function () {
var gdata = $('#gltextsearch').val();
if(gdata == '') return;
    
$.ajax({
url: 'arc_cart.php',
method: "POST",
data: {
proserarch:1, serdata: gdata
},   
success: function(data) {
$('#prodetails').html(data);    
}
});
    
});    
    
$(document).on('click', '#closefree', function() {    
$('#datacon').html('');
if($('.right-side-free').is(':visible')) {
$('.right-side-free').toggle('slide', { direction: 'right' }, 300);
}    
});

$("#printfree").click(function() {    
var mode = 'iframe'; //popup
var close = mode == "popup";
var options = {
mode: mode,
popClose: close
};
$("div.printableInvno").printArea(options);
});    
</script>
<script type="text/javascript">
$("#print").click(function() {    
var mode = 'iframe'; //popup
var close = mode == "popup";
var options = {
mode: mode,
popClose: close
};
$("div.printableArea").printArea(options);
});
    
function pagelist(){    
var perPage = 10;

new List("test-list", {
valueNames: ["pino","name"],
page: perPage,
plugins: [

ListPagination({
paginationClass: "pagination-layout",
left: 2,
right: 2
})
]
}).on("updated", function(list) {
var isFirst = list.i == 1;
var isLast = list.i > list.matchingItems.length - list.page;

// make the Prev and Nex buttons disabled on first and last pages accordingly
$(".pagination-prev.disabled, .pagination-next.disabled").removeClass(
"disabled"
);
if (isFirst) {
$(".pagination-prev").addClass("disabled");
}
if (isLast) {
$(".pagination-next").addClass("disabled");
}

// hide pagination if there one or less pages to show
if (list.matchingItems.length <= perPage) {
$(".pagination-wrap").hide();
} else {
$(".pagination-wrap").show();
}
});
}
    
$(".pagination-next").click(function(e) {
$(".pagination-layout .active")
.next()
.trigger("click");
e.preventDefault();    
});
    
$(".pagination-prev").click(function(e) {
$(".pagination-layout .active")
.prev()
.trigger("click");
e.preventDefault();    
});    
            
function setPrinterConfig(){
resolution = $('#resolution').val()!=undefined?$('#resolution').val():"A4";
rotate = $('#rotate').val()!=undefined?$('#rotate').val():"portrait";

$('.page').removeClass('A2 A4 A5 Letter Legal');
$('.page').addClass(resolution);
$('.page').removeClass('portrait landscape');
$('.page').addClass(rotate);

w = "21cm"; h = "29.7cm";
if( resolution == "A4" ){
w = "21cm"; h = "29.7cm";     
}else if( resolution == "A5" ){
w = "14.8cm"; h = "21cm";
}else if( resolution == "Letter" ){
w = "21.6cm"; h = "27.9cm";
}else if( resolution == "Legal" ){
w = "21.6cm"; h = "35.6cm";
}
if( rotate == "landscape" ){
$('#pageInit').html("@page{size: "+h+" "+w+"}");
}else{
$('#pageInit').html("@page{size: "+w+" "+h+"}");
}
scaleTemplate();
};

function sPintC(){
resolution = $('#resolution').val()!=undefined?$('#resolution').val():"A4";
rotate = $('#rotate').val()!=undefined?$('#rotate').val():"portrait";

$('.page').removeClass('A2 A4 A5 Letter Legal');
$('.page').addClass(resolution);
$('.page').removeClass('portrait landscape');
$('.page').addClass(rotate);

if( resolution == "A4" && rotate == "landscape"){
$('#printh').html('<style>@media print {@page{size: A4 landscape; size: 29.7cm 21.6cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');         
}else if( resolution == "A5" && rotate == "landscape"){
$('#printh').html('<style>@media print {@page{size: A5 landscape; size: 21.6cm 14.8cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}else if( resolution == "Letter" && rotate == "landscape"){
$('#printh').html('<style>@media print {@page{size: Letter landscape; size: 29.7cm 21.6cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}else if( resolution == "Legal" && rotate == "landscape"){
$('#printh').html('<style>@media print {@page{size: Legal landscape; size: 35.6cm 21.6cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');
}else if( resolution == "A4" && rotate == "portrait"){  
$('#printh').html('<style>@media print {@page{size: A4 portrait; size: 21.6cm 29.7cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}else if( resolution == "A5" && rotate == "portrait"){ 
$('#printh').html('<style>@media print {@page{size: A5 portrait; size: 14.8cm 21.6cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}else if( resolution == "Letter" && rotate == "portrait"){ 
$('#printh').html('<style>@media print {@page{size: Letter portrait; size: 21.6cm 29.7cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}else if( resolution == "Legal" && rotate == "portrait"){ 
$('#printh').html('<style>@media print {@page{size: Legal portrait; size: 21.6cm 35.6cm; margin: 0.5cm; margin: 0cm;} .page {margin: 0;padding: 0.5cm;border: initial;border-radius: initial;box-shadow: initial;overflow: hidden;transform: inherit !important;-webkit-transform: inherit !important;transform-origin: inherit !important;-webkit-transform-origin: inherit !important;}}</style>');    
}        
}    
    
function getPageHeight(){
resolution = $('#resolution').val()!=undefined?$('#resolution').val():"A4";
rotate = $('#rotate').val()!=undefined?$('#rotate').val():"portrait";

w = 21; h = 29.7;
if( resolution == "A4" ){
w = 21; h = 29.7;      
}else if( resolution == "A5" ){
w = 14.8; h = 21;
}else if( resolution == "Letter" ){
w = 21.6; h = 27.9;
}else if( resolution == "Legal" ){
w = 21.6; h = 35.6;
}
if( rotate == "landscape" ){
return w;
}else{
return h;
}
};

function getPageWidth(){
resolution = $('#resolution').val()!=undefined?$('#resolution').val():"A4";
rotate = $('#rotate').val()!=undefined?$('#rotate').val():"portrait";

w = 21; h = 29.7;
if( resolution == "A4" ){
w = 21; h = 29.7;      
}else if( resolution == "A5" ){
w = 14.8; h = 21;
}else if( resolution == "Letter" ){
w = 21.6; h = 27.9;
}else if( resolution == "Legal" ){
w = 21.6; h = 35.6;
}
if( rotate == "landscape" ){
return h;
}else{
return w;
}
};

function scaleTemplate(){
$.each($('[id=wrap_invoice]'), function(i, wrap_invoice){
var scale = 1;
if( $(wrap_invoice).parent().is(".wrapper") ){
$(wrap_invoice).unwrap();
}
var parent = $(wrap_invoice).parent();
var padding = $(parent).outerWidth()-$(parent).width();
var outer_height = $(parent).height();
var inner_height = $(wrap_invoice).outerHeight();
var outer_width = $(parent).width();
var inner_width = $(wrap_invoice).outerWidth();
if( outer_width < inner_width ){
if( padding == 0 ){
scale = parseFloat(outer_width/(inner_width+20));
padding = 20;
}else{
scale = parseFloat(outer_width/inner_width);
padding = 0;
}
var x = padding/2;
var origin = x.toFixed(2)+"px 0px 0px";
$(wrap_invoice).css({'-webkit-transform': 'scale('+(scale.toFixed(2))+')', '-webkit-transform-origin': origin});
var wrapper = $("<div class='wrapper'></div>");
$(wrapper).css({'width': inner_width*scale, 'height': inner_height*scale, "overflow": "hidden"});
$(wrap_invoice).wrap(wrapper);
}else{
$(wrap_invoice).css({'-webkit-transform': '', '-webkit-transform-origin': ""});
}
});
};

document.table_border = false;
document.table_strip = false;
document.table_border = true;
document.table_strip = true;

$(document).ready(function(){
$('#wrap_invoice table').removeClass();
$('#wrap_invoice table').addClass('table_invoice table_invoice-condensed');

$('#wrap_invoice table').addClass('table_invoice-bordered');
  
$('#wrap_invoice table').addClass('table_invoice-striped');
  
  

setPrinterConfig();
$('body').on('keyup', function(ev){
if( ev.keyCode == 27 ){
$('#close_page').click();
}
});

$('#close_page').click(function(){
window.close();
window.parent.window.close();
return false;
});
window.onresize = function() {
scaleTemplate();
}
scaleTemplate();
});
    
setTimeout(function() {
$(window).trigger("resize");
}, 100);
    
function sethead(){
var maxh = 0;
var ahe = $("#adheight").height();
var ihe = $("#inheight").height();

if(ahe>ihe){
maxh=ahe;   
}else{
maxh=ihe;    
}
if(maxh>ahe){
 $("#adheight").height(maxh);    
}else if(maxh>ihe){
 $("#inheight").height(maxh);        
}    
};
sethead();    
</script>

<!-- page script -->
<script type="text/javascript">   
ReadData();
function ReadData(){
$.ajax({
url: "fin_plview.php",
method: "POST",
data:{ 
body:1
},
beforeSend: function(){
$("#wait").css("display", "block"); 
},    
success: function(data){
$('#itemdata').html(data);
$("#item_5").treetable({expandable: true});
$("#item_4").treetable({expandable: true});    
},
complete:function(data){
$("#wait").css("display", "none");
}    
})
};
    
$(document).on('click', '#plview', function(e) {
var fdate = $('#stdate').val();
var tdate = $('#endate').val();
toastr.options = {'positionClass': 'toast-top-center'};
    
if(fdate.length<=0){
toastr.info('Please Enter From Date!');
return;    
}

if(tdate.length<=0){
toastr.info('Please Enter To Date!');
return;    
}

if(Date.parse(tdate) <= Date.parse(fdate)){
toastr.info('To Date Must Greater or Equel than From Date!');
return;    
}    

$.ajax({
url: "fin_plview.php",
method: "POST",
data:{ 
tfdate:fdate, ttdate:tdate
},
beforeSend: function(){
$("#wait").css("display", "block"); 
},    
success: function(data){
$('#item_5').treetable('destroy');
$('#item_4').treetable('destroy');    
$('#itemdata').html(data);
$("#item_5").treetable({expandable: true});
$("#item_4").treetable({expandable: true});    
},
complete:function(data){
$("#wait").css("display", "none");
}    
})    
    
});    
</script>    
<!-- /page script -->
    </body><template id="transover-popup-template">
  <style>
    .pos_translation {
      padding-bottom: 3px;
    }

    strong {
      font-weight: bold;
    }

    .rtl {
      direction: rtl;
    }

    main {
      color: #333;
      font-family: Arial, sans-serif;
      font-size: 14px;
      font-weight: 300;
      letter-spacing: initial;

      background: #fcf7d9;
      text-align: left;
      border-style: solid;
      border-width: 1px;
      border-color: #ccc;
      box-shadow: rgba(0,0,0,0.2) 0px 2px 5px;
      border-radius: 5px;
      padding: 6px 8px 3px 8px;
      position: fixed;
      z-index: 2147483647;
      top: -1500px;
      left: 0;
      box-sizing: content-box;
      -webkit-font-smoothing: antialiased;
      font-smoothing: antialiased;
      text-rendering: optimizeLegibility;

      /* To fix the following issue:
      1. Have translate on hover enabled (opposed to translate on click).
      2. Wisit a website that has a dropdown menu that opens on hover.
      3. Open the menu.
      4. Hover over a word within that menu.
      5. Incidentally move the cursor over the TransOver popup.
      The hover menu gets closed.
      */
      pointer-events: none;
    }

    .pos_translation {
      font-size: 1em;
      line-height: 1.2em;
    }

    .red {
      color: red;
    }

    .from_lang {
      color: grey;
      font-size: 0.8em;
      line-height: 1.2em;
      margin-top: 2px;
      margin-bottom: 3px;
    }
  </style>

  <main translate="no"></main>
</template><template id="transover-tat-popup-template">
  <style>
    #tat_input_container {
      display: flex;
      margin-bottom: 10px;
    }

    #tat_input_container label {
      line-height: 26px;
    }

    #tat_input {
      margin-left: 5px;
      flex-grow: 2;
      font-size: 14px;
      line-height: 20px;
      border-radius: 2px;
      border: 1px #ccc solid;
      padding-left: 5px;
    }

    #tat_submit_container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    #tat_submit_container select {
      margin-left: 5px;
    }

    #tat_submit {
      width: 45px;
      margin-left: 5px;
    }

    #tat_to_lang {
      width: 150px;
    }

    #swap_languages {
      margin-left: 5px;
      margin-right: 5px;
      width: 24px;
      height: 24px;
      background-repeat: no-repeat;
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAEKElEQVR4nL1Vb0xbVRQ/97Xre23pn9FSNmBQGEqGMJQPIyU6MkMczf6gbAyNk5lo9gkTdTPGLPswzRITjcYPftREiYQ/g5EVZZEwNt3ELBmiI/wLqB1rFdaWDaSjfe+e44cHpUAL0URPcnPuu/e887vn3PM7F+A/Fs1mBi+fbNBXPHNgv6ShCa/X+48BhI02T7522lbmrrtsTct8RRCETQ+TSLTJNhreOuvcXXG4y2C1F874vL25BcWP5hWWKgQEAABKNBJZmAvNzIaCi1d6vqVkfliixdfPnH+8eO9BzxaDKQuRgCMRR2KcYhoQgaKRh/PBO+O90yM/fhTy/faD51InrvW1LuzT5z6sLKo4/LVGZ3AoSMARQEEChYgpSKAgMa5qQKaRREvaLmteST0jlHIc5usjw8M8KUBN3Yu2soP1fYLOkLrkDJadxb5pWQMgESASIDHBsC3vSR4Ja3fYUq6OjY1SQoBUq3kxHPT/lJpdUAVaMYUjMQWJKbR8clA1qWniBAyJGKpgTHLklC3cHb469POANyHA1NQUDN66+atNxCuWjJ2VgmhUI+EICkfkiKQOIiRgSKDexxIAAtMQoikjRbg4Pj6OAEmq6KsvPhuok6P7H3n6+ZaUdGep/5fv+vyDfe8AQCy/Wslo3+567n3Rnl1CKgAhEOgceeU6UbQCQCApAABAS1PjZC2XD2S7qr9EpPCD+7MDPT09SrzNcYNFdpQfuUgEAhIBEQAJGpEBmDcFAABoa2mePopYK5pt+2RZXleCi0HftTueTx4jIi1jasUTESHiH8s2MR68cea9Ap1kLCHVCJAAwnOh6ZnfR79vb29f5fzZupcMzpLyd32D1862tTY/3OiQsQiMVvuhQlfVB5xWiPUgOO0LTE3sAQD/qr+4rE0v2vsm0xmdxwTh1dbmpvubAoT+nLotq45haZBoScsorjrRkbn7qTZgQjSWZ0JJQYKtO5+oYaIx7ZigeaG1qdGfCCCWopqjtcZ99W+P64yWDI5EnFTGokou4kgMCUite4L4eTjgG/Jfv1Db3Pj56FqAGA9Ghofl/DynvDV7l3ulJQAotBRRHKEwvvaJQCOZ0vQZ+dW5Nn3/0OCtuwkBAAC228yDW/TGfL0ts4gvMZivtIV49sJaMNLqTJGQb36bReqdnJxM3CrGRkd5ulFzWYkuSnr7jlICjSbOGSzPOREgrKwpclS+13/h47Bv7LzH41lVVQnbtdvt1phT7SXWnKLjkj1rj6DTpxKBQKS+BgRMEB25+UjElMW/Fu7daD0XCfk/7ejoCCe95ETicrmYyWQSRVHUQdzrJ6WYTVmHTnmj88HZwI2WU5G5QFNnZ2c0kY8NAZKJu/qI2Vl54nawv60hPDf7TVdXF09m+6/eWafTyWlm4tLcbOBmd3f3uhbyv8rfG8mfJ968lFgAAAAASUVORK5CYII=);
      cursor: pointer;
    }

    #swap_languages.disabled {
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAEIklEQVR4nL1VX0hbVxj/7k0w6TS3QVck+qC2/tfhiMyRUR8GlU4XNzJYsFBUluXBh/Uho0PBPWww6TbEpzGz+pKBC2OS2tkHRbQd3ZiIdkoVghptdO2MRmP+3Xtzb+759nBNFl0S8WH7weF+nO+7v985h/P7DsB/DMVZBTab7YLJZLouCMKG1+s9twCdLdnf31/Q09MzWVZWZqFp+szFpIMyU2JgYKC0s7Pzga6oqHZ9fX2msbGx0mAwxBN5juNi+/v7e36/n5+cnMRzqQ4NDb3q9/t3JEnCuCRhPB4noiiiIIgkJggYi8WQ53lycHgYnJmddfX29l41mUxZTyMJu91+LRKJBCSZGEVRREEUiSATE57nkeM4ZFmWRKNRjEQieHQUFO+OjAyYzWbVab4T59rd3V1gs9ke5ubm5iMAACJgckBKfHIAIF1TW3s1HAopc3JyHrndbkwrkJeXx29sbPyh1+vfuqBW5yEChYDUMVHql0LyT0wQAZFQlZVVry8sLDxaXFzwphXY3t6Gubm5zXA4PFtXV3eNYZh8RASJEJDiEiESQXlIeCxMISIQJICIFEVRCkmSNKIo3FtbWyMAGW6R3W5/wvP89Y9u3fqxprpG/2Bi4qHL5eoDAClRwzDMyxaL5U55RWUDIgEkiAQRqqqr31CpVFoA8GcUAABwOBweQRDetlgs30uEsIFA4Mn09HQ8tSY/v0C0Wq33CCItHx8BhUKhAgDmTAEAAKfT6ZMk6X2dTvemKIrkdP7Zs61f+vp66xBRSVEUAAAgIhJC/krUUIlgcHCwimGYBvlWyNjb2/MtLS09HhsbO0H+gcXyUktLy+c/37//qdPp5LItMrkDnU7X3tHR8fWxACIitbOz83xlZaUJAF6k/hTjeeU77e02RqMppWn6w9HR0aMzBTwez1OUAQmN4uLiotu3P3EZjcafaJoWjueBEKImBKG5ufk9jUZzSalU3nA4HC8yiQAAgNlszt3d3X0utwSByO0ghhzHI8txJMqyGIlESTgcwVAojMFgiBwdBfEwEMCFxcWnVqu1Oh1v0gerq6tiSUmJqG9sbEXZtgljATltNJKcpxAJXGQuXqqvf+VdmqZ/n5+f/zOtAACAWq1eYhim/HJZWT1mEiAJc8nuRSLHOSqVZmtrM6xUKmc8Hk/6VuF2uyVBECZZllWXV1ToFbRCkeJUOBZIkCdjnuPEkbvfDS0vL38xMTFx4lZRkAatra2KwsLChteamm5euXylSW5+CTMhUEDRVdVV5YQgFQoGo8P24c+2vd5vXC4Xe5orrUACBoOB0mg0KpVKlQMpr59Wq9Xc+fIrr8/nC9iHv/3Y5/P9MD4+LmTjOhfMZjPz+NffvF1dXe1GozHrU5p1B5nQ1tam1Gq1pQcHB5tTU1P/aiH/K/4G7RvFhRjTPe0AAAAASUVORK5CYII=);
      cursor: auto;
    }

    main {
      color: #333;
      font-family: Arial, sans-serif;
      font-size: 14px;
      font-weight: 300;
      line-height: 19px;
      letter-spacing: initial;

      background: #fcf7d9;
      text-align: left;
      border-style: solid;
      border-width: 1px;
      border-color: #ccc;
      box-shadow: rgba(0,0,0,0.2) 0px 2px 5px;
      border-radius: 5px;
      padding: 10px 12px 12px 12px;
      position: fixed;
      z-index: 2147483647;
      top: 15px;
      right: 15px;
      -webkit-font-smoothing: antialiased;
      font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    #disable_on_this_page_container {
      margin-bottom: 8px;
      color: blue;
    }

    #disable_on_this_page {
      position: relative;
      vertical-align: middle;
      bottom: 1px;
      margin-right: 5px;
    }

    #top_row_container {
      display: flex;
      justify-content: space-between;
    }

    #tat_close{
      width: 12px;
      height: 12px;
      background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, darkgrey 46%, darkgrey 56%,transparent 56%, transparent 100%), -webkit-linear-gradient(45deg, transparent 0%, transparent 46%, darkgrey 46%,  darkgrey 56%,transparent 56%, transparent 100%);
    }
  </style>

  <main translate="no">
    <div id="top_row_container">
      <div id="disable_on_this_page_container">
        <label><input id="disable_on_this_page" type="checkbox">Disable on this site</label>
      </div>
      <a href="#" id="tat_close"></a>
    </div>
    <div id="tat_input_container">
      <label for="tat_from_lang">Translate</label>
      <input id="tat_input" type="text">
    </div>
    <div id="tat_submit_container">
      <label for="tat_from_lang">from</label>
      <select id="tat_from_lang"></select>

      <div id="swap_languages"></div>

      <label for="tat_to_lang">into</label>
      <select id="tat_to_lang"></select>

      <input type="submit" id="tat_submit" value="go">
    </div>
  </main>
</template></html>