<?php
session_start();
// ============
include("../../php_crud/my_class.php");
$obj=new my_class();
// ============
?>
<style type="text/css">
i{
	cursor:pointer;
}
</style>

<script src="module/general_notice/js/sms_part_count_allocation.js" type="text/javascript"></script>


<div class="row-fluid" id="first_part" style="background-color:#f5f5f5;-webkit-box-shadow: 0 8px 6px -6px black; -moz-box-shadow: 0 8px 6px -6px black; box-shadow: 0 8px 6px -6px black; padding-bottom:10px;">
	<form class="form-vertical" >
		<input type="hidden" id="branchid" name="branchid" value="<?php echo $_SESSION['LOGIN_BRANCH'];?>"/>
	   
		<legend>
			<div class="widget-header header-color-green2">
				<h4 class="lighter smaller" style="font-weight:bold;">SMS Part Count Setup</h4>
			</div>
		</legend>

		<div class="row-fluid">
			<div class="span3">
				<div class="control-group" >
					<label class="control-label" for="form-field-1">Setup Date<font color="#FF0000">*</font></label>
					<div class="controls">
						<input id="sms_count_date" name="sms_count_date" class="date-picker" type="text" data-date-format="dd-mm-yyyy" placeholder="dd-mm-yyyy" value="<?php echo date("d-m-Y"); ?>" />
					</div>
				</div>
			</div>
			
			<div class="span3">
				<div class="control-group" >
					<label class="control-label" for="form-field-1">SMS Part Number<font color="#FF0000">*</font></label>
					<div class="controls">
						<input type="text" class="small" id="sms_part_no" value="1" />
					</div>
				</div>
			</div>
			
			<div class="span3">
				<div class="control-group" >
					<label class="control-label" for="form-field-1">&nbsp;&nbsp;Select SMS Type<font color="#FF0000">*</font></label>
					<div class="controls">&nbsp;&nbsp;
						<select class="select_list" id="sms_type">
							<option value="E">English</option>
							<option value="B">Bangla</option>
						</select>
					</div>
				</div>		
			</div>	
			
			<div class="span3">
				<div class="control-group">
					<label class="control-label" for="form-field-1">&nbsp;</label>
					<div class="control-group" >
						<button id="btn_mt_report_show" onclick="call_sms_part_count_setup()" class="btn btn-small btn-success" type="button">
							<i class='icon-ok'></i>Submit
						</button>
					</div>
				</div>
			</div>
		</div>
	</form>
</div>

<div class="row-fluid" id="sms_part_setup_tbl" style="margin-top: 30px;"></div>

<script type="text/javascript">
	$('.date-picker').datepicker().next().on(ace.click_event, function(){
     	$(this).prev().focus();
    });
</script>

