<form id="frmPurchase" name="frmPurchase" data-parsley-validate novalidate method="POST">
	<input type="hidden" name="_token" value="{{ csrf_token() }}">
	<input type="hidden" name="batchid" id="batchid" value="<?php echo $data['batchrec']->bch_id; ?>">
	<input type="hidden" name="fed_id" id="fed_id" value="<?php echo $data['masterfeed']->fed_id; ?>">
	<div class="widget widget-table">
		<div class="widget-header">
			<h3><i class="fa fa-user"></i> Entry date</h3> 	
		</div>
		<div class="widget-content">
			<div class="row">
				
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Day : </b></label>	
						<input type="text" name="entryday" class="form-control"	value="<?php echo  $data['totday']; ?>">					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Date : </b></label>
						<input type="date" name="entrydate"	class="form-control" value="<?php echo date("Y-m-d"); ?>" >					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Today : </b></label>
						<input type="text" name="entryToday" class="form-control" readonly value="<?php echo date("l"); ?>" >					
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>		
	</div>
	<div class="widget widget-table">
		<div class="widget-header">
			<h3><i class="fa fa-user"></i> Feed Info</h3> <em>Day -  
				<?php
					echo $data['totday'];
				?></em>						
		</div>
		<div class="widget-content">
			<div class="row">
				<div class="col-sm-12 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Feed : </b> <?php echo $data['masterfeed']->fed_feed; ?> </label>						
					</div>
				</div>
				<div class="col-sm-12 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Water : </b> <?php echo $data['masterfeed']->fed_water; ?> </label>							
					</div>
				</div>
				<div class="col-sm-12 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Medicine : </b> <?php echo $data['masterfeed']->fed_medicine; ?> </label>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>		
	</div>
	<div class="widget widget-table">
		<div class="widget-header">
			<h3><i class="fa fa-user"></i> Feed records</h3> 	
		</div>
		<div class="widget-content">
			<div class="row">				
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Mortality : </b></label><br>	
						<input type="text" name="mortality" class="form-control"	>					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Feed : </b></label><br>
						<input type="text" name="feed" class="form-control" >					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Water : </b></label><br>
						<input type="text" name="water" class="form-control"   >					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Med/Vac : </b></label><br>
						<input type="text" name="medvac" class="form-control" >					
					</div>
				</div>
				<div class="clear"></div>					
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Temperature : </b></label><br>	
						<input type="text" name="temperature" class="form-control"	>					
					</div>
				</div>
				<div class="col-sm-4 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Humidity : </b></label><br>
						<input type="text" name="humidity" class="form-control" >					
					</div>
				</div>
				<div class="col-sm-6 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Observation : </b></label><br>
						<textarea class="form-control" name="observation" id="observation" ></textarea>					
					</div>
				</div>
				<div class="col-sm-6 nopadding">
					<div class="form-group">
						<label for="multiselect1"><b>Suggestion : </b></label><br>
						<textarea class="form-control" name="suggestion" id="suggestion" ></textarea>						
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>		
	</div>
	
	
	<div class="main-content">
		<div class="row">
			<div class="col-md-8">
				<div class="widget widget-scrolling">
					<div class="widget-header">
						<h3><i class="fa fa-slack"></i> Weight Entry</h3>
					</div>
					<div class="widget-content">
						<div class="row">
							<div class="col-sm-3 nopadding">
								<div class="form-group">
									<label for="multiselect1">SL No.</label>
									<br/>
									<input type="text" name="slno[]" id="itemcost0" class="form-control">
									<small class="text-danger" id="errstatus"></small>
								</div>
							</div>
							<div class="col-sm-3 nopadding">
								<div class="form-group">
									<label for="multiselect1">No. of Birds</label>
									<br/>
									<input type="text" name="nobirds[]" id="itemquantity0" class="form-control"  >
									<small class="text-danger" id="errstatus"></small>
								</div>
							</div>
							<div class="col-sm-3 nopadding">
								<div class="form-group">
									<label for="multiselect1">Total weight in Gms</label>
									<br/>
									<input type="text" name="totweight[]" id="itemtotal0" class="form-control" >
									<small class="text-danger" id="errstatus"></small>
								</div>
							</div>
							<div class="clear"></div>
						</div>
						
						<div id="entryrows"  class="row">
						</div>
						
						<div class="row">
							<div class="col-sm-3 nopadding">
								<div class="form-group">
									<div class="input-group">								
										<div class="input-group-btn">
											<button type="button"  value="Add" class="form-control" onclick="addentryinforow();" >ADD</button>			
										</div>
									</div>
								</div>
							</div>
						</div>
						
					</div>
				</div>
			</div>
			<div class="col-md-4">
				<div class="widget widget-scrolling">
					<div class="widget-header">
						<h3><i class="fa fa-fire"></i> Capture</h3>
					</div>
					<div class="widget-content">
						<div class="form-group">
							<label for="multiselect1"><b>Upload Image : </b></label><br>
							<input type="file" name="image" class="form-control" >					
						</div>
					</div>
				</div>
			</div>
			
		</div>
	</div>
	<div class="widget widget-table">
		<div class="row">
			<div class="form-group">
				<br>
				<center><input type="button" onclick="funentrysubmission()" class="btn btn-primary" value="Click Here to Add Entry Record"></center>
			</div>
		</div>
	</div>
</form>