<head>
<style type="text/css">
button {
 	margin-left: 2px;
 	margin-right: 2px;
}

.modal-header {
	background-color: #3c8dbc;
	color: white;
}

</style>
</head>

<input type="hidden" id="isManagerFilter" value="<?php echo isset($isManagerFilter) ? ($isManagerFilter ? 'true' : 'false' ) : 'false';?>" >

<div class="col-md-12" <?php echo isset($isManagerFilter) && $isManagerFilter ? "style='display:none'" : ''; ?>>
	<div class="filter-unit">
		<select class="form-control" id="cobFilterSalesQuotationBU">
           <?php echo $this->getCompanyOption() ?>
        </select>
	</div>
    <div class="filter-unit">
		<select class="form-control" id="txtFilterSalesQuotationCompany">
           <?php echo $this->getCustomerOption() ?>
        </select>
	</div>
    <div class="filter-unit">
        
    </div>	
	<div class="filter-unit">
		<a href="#" onclick="return filterQuotation();" class="btn btn-primary btn-sm"><span class="fa fa-filter"></span> Filter</a>
	</div>
	<?php if(!isset($isManagerFilter) || $isManagerFilter == false) { ?>
	<div class="claim-btn">
		<table>
			<tr>
				<td>
					<div>
                        <a onclick="return showAddQuotation();" role="button" class="btn btn-primary btn-sm" data-toggle="modal"><span class="glyphicon glyphicon-plus"></span> Add</a>
					</div>
				</td>
			</tr>
		</table>
	</div>
	<?php } ?>
</div>

<div class="col-md-12" id="errorShow"></div>

<div class="col-md-12" style="margin-top: 20px">
	<div class="box" id="testData">
		<table class="table table-striped" style="width: 100%; max-width: 100%; margin-bottom: 20px;">
            <thead>
                <tr>
                    <th width="5%">Quotation #</th>
                    <th width="10%">Prospect Name</th>
                    <th width="7%">Quotation Date</th>
                    <th width="5%">Status</th>
                    <th width="40%"></th>
                </tr>
            </thead>
            <tbody id="quotation-table">
               
            </tbody>
		</table>
	</div>
</div>
<script>
$(document).ready(function () {
	// filterQuotation();
});
</script>
