<?php 
	$header_file=APPPATH.'views/include/header.php';
	require($header_file);
	$sidenav_file=APPPATH.'views/include/sidenav.php';
	require($sidenav_file);	?>

    <!-- BEGIN: Content-->
    <div class="app-content content">
      <div class="content-overlay"></div>
      <div class="content-wrapper">
        <div class="content-header row">
          <div class="content-header-left col-md-12 col-12 mb-2 breadcrumb-new">
            <h3 class="content-header-title mb-0 d-inline-block">Branch </h3>
            <div class="row breadcrumbs-top d-inline-block">
              <div class="breadcrumb-wrapper col-12">
                <ol class="breadcrumb">
                  <li class="breadcrumb-item"><a href="#">Home</a>
                  </li>
                  <li class="breadcrumb-item"><a href="#">Branch</a>
                  </li>
                  <li class="breadcrumb-item active">Branch Creation
                  </li>
                </ol>
              </div>
            </div>
          </div>
          
        </div>
        <div class="content-body"><!-- Basic form layout section start -->
<section id="basic-form-layouts">
	<div class="row justify-content-md-center">
		<div class="col-md-12">
			<div class="card">
				<div class="card-header">
					<h4 class="card-title" id="basic-layout-form-center">Branch Creation</h4>
					<a class="heading-elements-toggle"><i class="la la-ellipsis-v font-medium-3"></i></a>
					<div class="heading-elements">
						<ul class="list-inline mb-0">
							<li><a data-action="collapse"><i class="ft-minus"></i></a></li>
							<li><a data-action="reload"><i class="ft-rotate-cw"></i></a></li>
							<li><a data-action="expand"><i class="ft-maximize"></i></a></li>
							<li><a data-action="close"><i class="ft-x"></i></a></li>
						</ul>
					</div>
				</div>
				<div class="card-content collapse show">
					<div class="card-body">
						<form class="form" enctype="multipart/form-data" autocomplete="off" action="<?php echo site_url('Master/addBranch');?>" method="post">
							<div class="row justify-content-md-center">
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1"> Name</label>
											<input type="text" class="form-control" id="sname" name="sname" value="" required placeholder="Name">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Code</label>
											<input type="text" class="form-control" id="code" name="code" value="" placeholder="Code">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Title</label>
											<input type="text" class="form-control" id="title" name="title" value="" placeholder="Title">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Description</label>
											<input type="text" class="form-control" id="description" name="description" value="" placeholder="Description">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Phone No</label>
											<input type="text" class="form-control" id="contact_no" name="contact_no" value="" placeholder="Phone No">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Email ID</label>
											<input type="text" class="form-control" id="email_id" name="email_id" value="" placeholder="Email ID">
										</div>
									</div>
								</div>
								
							
							</div>
							<div class="row justify-content-md-center">
							    <div class="col-md-3">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">GSTIN No</label>
											<input type="text" class="form-control" id="gstin_no" name="gstin_no" value="" placeholder="GSTIN No">
										</div>
									</div>
								</div>
							    <div class="col-md-5">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Address</label>
											<input type="text" class="form-control" id="address" name="address" value="" placeholder="Address">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
										    <label for="eventInput1">User Type</label>
											<select name="user_type" id="user_type" class="form-control select2" >
												<option value="">Select User Type</option>
												<option value="Tax">Tax User</option>
												<option value="No Tax">No Tax</option>
											</select>
										</div>
									</div>
								</div>
								 <div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Username</label>
											<input type="text" class="form-control" id="username" name="username" value="" placeholder="Username" >
										</div>
									</div>
								</div>
								 <div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Password</label>
											<input type="text" class="form-control" id="pwd" name="pwd" value="" placeholder="Password">
										</div>
									</div>
								</div>
								 <div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">Confirm Password</label>
											<input type="text" class="form-control" id="cnfpwd" name="cnfpwd" value="" placeholder="Confirm Password">
										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="form-body">
										<div class="form-group">
											<label for="eventInput1">User Group</label>
											<select name="user_grp" id="user_grp" class="form-control select2" >
												<option value="">Select User Group</option>
												<option value="outlet">Outlet</option>
												<option value="customer">Customer</option>
											</select>
										</div>
									</div>
								</div>
							</div>
							
							<div class="form-actions text-center">
								<button type="reset" class="btn btn-warning mr-1">
									<i class="ft-x"></i> Cancel
								</button>
								<button type="submit" class="btn btn-primary" onclick="return confirm('Are you sure you want to submit this form?')" >
									<i class="la la-check-square-o"></i> Save
								</button>
							</div>
						</form>	
					</div>
				</div>
			</div>
		</div>
	</div>

</section>
<!-- // Basic form layout section end -->
        </div>
      </div>
    </div>
    <?php //require('include/theme_customizer.php');?>

   <?php 
  $footer_file=APPPATH.'views/include/footer.php';
	require($footer_file);
	?>
	<script type="text/javascript">
		$(function () {
			$('#branch').multiselect({
				includeSelectAllOption: true
			});
		});
	</script>
	<script>
		$("#branch").change(function(){
			   //var branch = $('#branch option:selected').text();
			var branch = $("#branch option:selected").map(function () {
			return $(this).text();
			}).get().join(',');
			//alert(branch);
			$('#branch_name').val(branch);
		});
	</script>
	<script>
	    $("input[name='rgst_msme']").click(function() {
			if($('#ryes').is(':checked'))
			{
				$('#mrgst_no').show();
			}
			else
			{
				$('#mrgst_no').hide();
			}
		});
	</script>

  </body>
  <!-- END: Body-->

<!-- Mirrored from pixinvent.com/modern-admin-clean-bootstrap-4-dashboard-html-template/html/ltr/vertical-modern-menu-template/form-layout-basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Apr 2020 09:38:02 GMT -->
</html>