<!-- <div id="sbg-taxes-type-entry" style="width:610px;margin: 5px 5px 5px 5px;">
	<div id="taxes-type-tabs">
		<ul style="font-size: 0.8em;">
			<li><a href="#taxes-type-general">General</a></li>
			<li><a href="#taxes-type-percentages">Percentages</a></li>
			<span class="sbg-tab-title">Taxes Type</span>
		</ul>
		<div id="taxes-type-general" style="height:150px;">
			<table>
				<tr>
					<td style="text-align:right;width:100px;"><span>ID : </span></td>
					<td style="width:480px"><input type="text" maxlength="10" size="10" id="txtTaxesTypeId" value="Auto" disabled="disabled" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>Code : </span></td>
					<td><input type="text" maxlength="50" size="20" id="txtTaxesTypeCode" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>Description : </span></td>
					<td><input type="text" maxlength="250" size="40" id="txtTaxesTypeDesc" /><span id="taxestype_err_desc" style="color:red;display:none;padding-left:5px">*</span></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>GL Code : </span></td>
					<td><input type="text" maxlength="50" size="20" id="txtTaxesTypeGLCode" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>Def. % : </span></td>
					<td><input type="text" maxlength="50" size="15" id="txtTaxesTypeDefaultPercentage" /></td>
				</tr>
			</table>
		</div>
		<div id="taxes-type-percentages" style="height:150px;">
			<table>
				<tr>
					<td style="text-align:right;width:100px;"><span>Start : </span></td>
					<td style="width:150px"><input type="text" maxlength="10" size="10" id="txtTaxesTypeStartDate" /></td>
					<td style="text-align:right;width:100px;"><span>Percentage : </span></td>
					<td style="width:100px"><input type="text" maxlength="10" size="5" id="txtTaxesTypePercentage" /></td>
					<td style="text-align:right;width:100px;"><a href="javascript:" onclick="addPercentages()"><img src="image/add.png" title="Add Limit" style="width:24px;height:24px"></img></a></td>
				</tr>
			</table>
            <table class="sbg-table-list" cellspacing="0" style="width: 360px">
                <tr>
                    <th style='width:155px;'>Start Date</th>
                    <th style='width:155px;'>Percentages</th>
                    <th style='width:50px;'></th>
                </tr>
            </table>
			<div class="ui-widget-content ui-corner-all" style="overflow: auto;height:100px;">
				<table id="tblPercentages" class="sbg-table-list" cellspacing="0">
					
				</table>
			</div>
		</div>
	</div>
	<div class="ui-widget-content ui-corner-all" style="height:40px;margin-top:2px;">
		<div class="sbg-entry-error" style="width:300px;">
			<span id="taxestype_err_mesg" class="sbg-error"></span>
		</div>
		<div class="sbg-entry-command">
			<input id="btnTaxesTypeAdd" type="button" value="Add"></input>
			<input id="btnTaxesTypeUpdate" type="button" value="Update"></input>
			<input id="btnTaxesTypeClear" type="button" value="Clear"></input>
			<input id="btnTaxesTypePrint" type="button" value="Print"></input>
		</div>
	</div>
</div>

<div>
	<div class="sbg-table">
		<div class="ui-widget-header">
			<table id="sbg-taxes-type-header" class="header" cellspacing="0" cellpadding="5">
                <tr class="ui-widget-header">
                <td style="width: 50px;">ID</td>
                <td style="width: 150px;">Code</td>
                <td style="width: 400px;">Description</td>
                <td style="width: 100px;">Default</td>
				<td style="width: 25px;"></td>
				<td style="width: 25px;"></td>
                </tr>
			</table>
		</div>
        <div id="sbg-taxes-type-data" style="overflow: auto;">
            <table id="sbg-taxes-type-table" cellspacing="0" cellpadding="5" class="data">
			<tr><td style="width:50px;height:1px"></td>
                <td style="width:150px"></td>
                <td style="width:400px"></td>
                <td style="width:100px"></td>
                <td style="width:25px"></td>
                <td style="width:25px"></td></tr>
			<?php //echo $this->getList() ; ?>
            </table>
        </div>
	</div>
</div> 
<script type="text/javascript">
var taxestype_url = "<?php //echo Util::convertLink("TaxesType") ; ?>" ;
<?php //include (PATH_CODE . "js/activity/taxestype.js") ; ?>
</script> -->

<!-- ===================================================================== -->

<div class="kt-subheader   kt-grid__item" id="kt_subheader" style="height:50px;margin-top:40px;">
	<div class="kt-container  kt-container--fluid ">
		<div class="kt-subheader__main">
			<h3 class="kt-subheader__title">
				Taxes Type
			</h3>
			<span class="kt-subheader__separator kt-subheader__separator--v"></span>
			<div class="kt-subheader__breadcrumbs">
				<span class="kt-subheader__breadcrumbs-home"><i class="flaticon2-shelter"></i></span>
				<span class="kt-subheader__breadcrumbs-separator"></span>
				<span class="kt-subheader__breadcrumbs-link">
					Service </span>
				<span class="kt-subheader__breadcrumbs-separator"></span>
				<span class="kt-subheader__breadcrumbs-link">
					Taxes Type </span>
			</div>
		</div>
	</div>
</div>

<div class="kt-portlet kt-portlet--tabs" id="formTaxesType">
	<div class="kt-portlet__head">
		<div class="kt-portlet__head-toolbar">
			<ul class="nav nav-tabs nav-tabs-space-xl nav-tabs-line nav-tabs-bold nav-tabs-line-3x nav-tabs-line-brand" role="tablist">
				<li class="nav-item">
					<a class="nav-link " data-toggle="tab" href="#taxes-type-general" role="tab">
						<i class="la la-briefcase"></i> General
					</a>
				</li>
				<li class="nav-item">
					<a class="nav-link " data-toggle="tab" href="#taxes-type-percentages" role="tab">
						<i class="flaticon-edit-1"></i> Percentages
					</a>
				</li>
			</ul>
		</div>
		<div class="kt-portlet__head-toolbar" style="margin-top: 10px;">
			<div class="kt-portlet__head-group">
				<button type="button" class="btn btn-sm btn-icon btn-default btn-pill  btn-icon-md" onclick="closeFormTaxesType()"><i class="la la-close"></i></button>
			</div>
		</div>
	</div>

	<form class="kt-form kt-form--label-right" style="margin-bottom: 0px;">
		<div class="kt-portlet__body" style="padding-bottom: 0px;">
			<div class="tab-content">
				<div class="tab-pane active" id="taxes-type-general" role="tabpanel">
					<div class="form-group row form-group-marginless">
						<label class="col-lg-1 col-form-label">ID :</label>
						<div class="col-lg-1">
							<input type="text" id="txtTaxesTypeId" maxlength="10" size="10" class="form-control" placeholder="Auto" disabled>
						</div>
						<label class="col-lg-1 col-form-label">Code:</label>
						<div class="col-lg-1">
							<input type="text" id="txtTaxesTypeCode" maxlength="7" size="7" class="form-control">
						</div>
					</div>
					<div class="kt-separator kt-separator--border-dashed kt-separator--portlet-fit"></div>
					<div class="form-group row">
						<label class="col-lg-1 col-form-label">Description:</label>
						<div class="col-lg-3">
							<input type="text" id="txtTaxesTypeDesc" maxlength="250" size="250" class="form-control">
							<span id="taxestype_err_desc" style="color:Red;display:none">*</span>
						</div>
						<label class="col-lg-1 col-form-label">GL Code:</label>
						<div class="col-lg-2">
							<input type="text" id="txtTaxesTypeGLCode" maxlength="50" size="50" class="form-control">
						</div>
						<label class="col-lg-1 col-form-label">Def. %:</label>
						<div class="col-lg-1">
							<input type="text" id="txtTaxesTypeDefaultPercentage" maxlength="50" size="50" class="form-control">
						</div>
					</div>
				</div>
				<div class="tab-pane" id="taxes-type-percentages" role="tabpanel">
					<div class="form-group m-form__group row">
						<label class="col-form-label col-lg-1">Start Date</label>
						<div class="col-lg-2">
							<div class="input-group date">
								<input type="text" class="form-control" readonly placeholder="Select date" id="txtTaxesTypeStartDate" maxlength="10"/>
								<div class="input-group-append">
									<span class="input-group-text">
										<i class="la la-calendar-check-o"></i>
									</span>
								</div>
							</div>
						</div>
						<label class="col-lg-1 col-form-label">Percentages:</label>
						<div class="col-lg-1">
							<input type="text" id="txtTaxesTypePercentage" maxlength="10" size="10" class="form-control">
						</div>
     					<div class="col-lg-2 col-xl-2">
							<button onclick="addPercentages();" type="button" data-demo="default" class="btn btn-outline-info m-btn m-btn--icon m-btn--outline">
								<span>
									<i class="la la-plus"></i>
									<span>Add Percentages</span>
								</span>
							</button>
     					</div>
     				</div>	
     				<div class="m-section__content col-md-4" >
     					<table id="tblPercentagesDetail" class="table table-bordered m-table m-table--border-brand m-table--head-bg-brand" >
						  	<thead>
						    	<tr>
						    		<th width="30%">
						    			Start Date
						    		</th>
						    		<th width="30%">
						    			Percentages
						    		</th>
						    		<th width="10%"></th>
						    	</tr>
						  	</thead>

						  <tbody id="tblPercentages" style="">
						  </tbody>
						</table>	
 					</div>
				</div>

			</div>
		</div>

		<div class="kt-portlet__foot">
			<div class="kt-form__actions ">
				<button type="button" id="btnTaxesTypeAdd" class="btn btn-label-twitter"><i class="fa fa-edit"></i>Add</button>
				<button type="button" id="btnTaxesTypeUpdate" class="btn btn-label-twitter"><i class="fa fa-edit"></i>Update</button>
				<button type="button" id="btnTaxesTypeClear" class="btn btn-label-google"><i class="flaticon-delete"></i>Clear</button>
				<button type="button" id="btnTaxesTypePrint" class="btn btn-label-instagram"><i class="fa fa-print"></i>Print</button>
			</div>
		</div>
	</form>
</div>
<!-- end:: Content -->

<div class="kt-portlet kt-portlet--mobile">
	<div class="kt-portlet__head kt-portlet__head--lg">
		<div class="kt-portlet__head-label">
			<span class="kt-portlet__head-icon">
				<i class="kt-font-brand flaticon2-line-chart"></i>
			</span>
			<h3 class="kt-portlet__head-title">
				Form Taxes Type
			</h3>
			<div class="kt-portlet__head-toolbar" style="margin-left: 25px;">
				<div class="kt-portlet__head-wrapper">
					<div class="kt-portlet__head-actions">
						<button type="button" onclick="showFormTaxesType();" class="btn btn-brand btn-elevate btn-icon-sm">
							<i class="la la-plus"></i>
							New Entry
						</button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="kt-portlet__body">
		<!--begin: Datatable -->
		<div class="sbg-taxes-type-table"></div>
		<!--end: Datatable -->
	</div>
</div>

<script type="text/javascript">
var taxestype_url = "<?php echo Util::convertLink("TaxesType") ; ?>" ;
<?php include (PATH_CODE . "js/activity/taxestype.js") ; ?>
</script>