<!-- Modal -->
<div class="modal fade" id="farmerRecordForm" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
        <div class="modal-dialog modal-lg" role="document">
          <div class="modal-content">
            <div class="modal-header bg-green">
              <h4 class="modal-title header-indigo text-center">Daily Record Form [ Name - <?php echo e($farmer->name); ?> ]</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
            <form method="post" id="daily-record-form" action="<?php echo e(route('admin.daily-record', $farmer->id)); ?>">
                  <?php echo csrf_field(); ?>
                  <div class="row">
                      <input type="hidden" name="farmer_id" value="<?php echo e($farmer->id); ?>">








                      <div class="col-4">
                          <div class="form-group">
                              <label class="">Date</label>
                              <div class="input-group date form_date" data-date="<?php echo e(\Carbon\Carbon::now('Asia/Dhaka')); ?>" data-date-format="dd MM yyyy HH:ii" data-link-field="dtp_input1">
                                  <input class="form-control" size="16" type="text" name="date" value="<?php echo e(\Carbon\Carbon::now('Asia/Dhaka')->format('d M Y H:i')); ?>">
                                  <span class="input-group-addon ml-2">
                                            <span class="fa fa-calendar"></span>
                                        </span>
                              </div>
                              <input type="hidden" id="dtp_input1" value="" />
                          </div>
                      </div>
                      <div class="col-lg-3 col-md-3 col-sm-3 col-3">
                          <div class="form-group">
                              <label for="died"> Died</label>
                              <input type="number" name="died" value="0" class="form-control" id="died" required>
                              <?php $__errorArgs = ['died'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                              <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                          </div>
                      </div>
                      <div class="col-lg-3 col-md-3 col-sm-3 col-3">
                          <div class="form-group">
                              <label for="feed_kg"> Feed - kg</label>
                              <input type="number" name="feed" class="form-control" id="feed_kg" required>
                              <?php $__errorArgs = ['feed'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                              <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                          </div>
                      </div>
                      
                  </div>
                  <br>
                  <div class="row">
                      
                      <div class="col-lg-3 col-md-3 col-sm-3 col-3">
                          <div class="form-group">
                              <label for="weight"> Weight</label>
                              <input type="number" name="weight" class="form-control" id="weight" required>
                              <?php $__errorArgs = ['weight'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                              <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                          </div>
                      </div>
                      <div class="col-lg-6 col-md-6 col-sm-6 col-3">
                          <div class="form-group">
                              <label for="sickness"> Symptom</label>
                              <input type="text" name="symptoms" id="symptoms" class="form-control">
                          </div>
                      </div>
                  </div>
                  <br>
                  <div class="row">
                      <div class="col-lg-12 col-md-12 col-sm-12 col-12">
                          <div class="form-group">
                              <label for="comment"> Comments</label>
                              <input type="text" name="comment"  class="form-control" id="comment">
                          </div>
                      </div>
                  </div>
                </form>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>

               <button type="button" class="btn btn-primary add-row" id="save" form="daily-record-form">Save</button>
            </div>
          </div>
        </div>
      </div>

<?php /**PATH C:\xampp\htdocs\forazi\resources\views/admin/modals/farmers/daily-record.blade.php ENDPATH**/ ?>