
<?php $__env->startSection('title','Action Parameter'); ?>
<?php $__env->startSection('content'); ?>
    <h2 class="ms-2 card-title"><?php echo e(__("messages.action_parameters")); ?></h2>
    <ul class="nav nav-underline mb-3 border-bottom" role="tablist">
        <li class="nav-item">
            <a class="nav-link active" data-bs-toggle="tab" href="#daily" role="tab">
                <span class="d-block d-sm-none"><i class="fas fa-home"></i></span>
                <span class="d-none d-sm-block"><?php echo e(__("messages.daily_action")); ?></span>
            </a>
        </li>
        <li class="nav-item mx-3">
            <a class="nav-link" data-bs-toggle="tab" href="#alert" role="tab">
                <span class="d-block d-sm-none"><i class="far fa-user"></i></span>
                <span class="d-none d-sm-block"><?php echo e(__("messages.alert_action")); ?></span>
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link" data-bs-toggle="tab" href="#general" role="tab">
                <span class="d-block d-sm-none"><i class="far fa-user"></i></span>
                <span class="d-none d-sm-block"><?php echo e(__("messages.general")); ?></span>
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link" data-bs-toggle="tab" href="#age_limit" role="tab">
                <span class="d-block d-sm-none"><i class="far fa-user"></i></span>
                <span class="d-none d-sm-block"><?php echo e(__("messages.age_limit")); ?></span>
            </a>
        </li>

    </ul>

    <!-- Tab panes -->
    <div class="tab-content p-1 text-muted">
        <div class="tab-pane active" id="daily" role="tabpanel">
            <form action="<?php echo e(route('action-perameters.update')); ?>" method="POST" role="form" id="form1"
                  enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="expected_first_heat"><?php echo e(__('messages.expected_1st_Heat_after_calving')); ?></label>
                            <input type="text" class="form-control" name="expected_first_heat" id="expected_first_heat"
                                   placeholder="<?php echo e(__('messages.enter') . ' '. __('messages.expected_1st_Heat_after_calving')); ?>"
                                   value="<?php echo e(config('perameters.expected_first_heat')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="heat_interval"><?php echo e(__('messages.heat_interval')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="heat_interval"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.heat_interval')); ?>"
                                   id="heat_interval"
                                   value="<?php echo e(config('perameters.heat_interval')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="first_pd_check_period"><?php echo e(__('messages.first_pd_check_period')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="first_pd_check_period"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.first_pd_check_period')); ?> "
                                   id="first_pd_check_period"
                                   value="<?php echo e(config('perameters.first_pd_check_period')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row mt-3">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="second_pd_check_period"><?php echo e(__('messages.second_pd_check_period')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="second_pd_check_period"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.second_pd_check_period')); ?>"
                                   id="second_pd_check_period"
                                   value="<?php echo e(config('perameters.second_pd_check_period')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="preg_dry_period"><?php echo e(__('messages.pregnant_dry_period')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="preg_dry_period"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.pregnant_dry_period')); ?>"
                                   id="preg_dry_period"
                                   value="<?php echo e(config('perameters.preg_dry_period')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="expected_calving"><?php echo e(__('messages.expected_calving')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="expected_calving"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.expected_calving')); ?>"
                                   id="expected_calving"
                                   value="<?php echo e(config('perameters.expected_calving')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row mt-3">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="first_heat_age"><?php echo e(__('messages.first_heat_age')); ?>

                                (<?php echo e(__('messages.months')); ?>)</label>
                            <input type="text" class="form-control" name="first_heat_age"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.first_heat_age')); ?>"
                                   id="first_heat_age"
                                   value="<?php echo e(config('perameters.first_heat_age')); ?>"/>
                        </div>
                    </div>
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                </div>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('action peremeter.edit')): ?>
                    <div class="mt-5 d-flex justify-content-end">
                        <div>
                            <button type="submit" class="btn btn-primary">
                                <?php echo e(__('messages.update')); ?>

                            </button>
                        </div>
                    </div>
                <?php endif; ?>
            </form>
        </div>
        <div class="tab-pane" id="alert" role="tabpanel">
            <form action="<?php echo e(route('action-perameters.update')); ?>" method="POST" role="form" id="form1"
                  enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="lactation_yield"><?php echo e(__('messages.lactation_yield')); ?></label>
                            <input type="text" class="form-control" name="lactation_yield"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.lactation_yield')); ?>"
                                   id="lactation_yield"
                                   value="<?php echo e(config('perameters.lactation_yield')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="milk_yield"><?php echo e(__('messages.milk_yield')); ?>

                                (100 <?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="milk_yield"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.milk_yield')); ?> kg"
                                   id="milk_yield"
                                   value="<?php echo e(config('perameters.milk_yield')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="lactation_length"><?php echo e(__('messages.lactation_length')); ?>

                                (<?php echo e(__('messages.days')); ?>)</label>
                            <input type="text" class="form-control" name="lactation_length"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.lactation_length')); ?>"
                                   id="lactation_length"
                                   value="<?php echo e(config('perameters.lactation_length')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row mt-3">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="amr_period"><?php echo e(__('messages.amr_period')); ?></label>
                            <input type="text" class="form-control" name="amr_period"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.amr_period')); ?>" id="amr_period"
                                   value="<?php echo e(config('perameters.amr_period')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="sire_perfemance"><?php echo e(__('messages.sire_perfemance')); ?>

                                (%)</label>
                            <input type="text" class="form-control" name="sire_perfemance"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.sire_perfemance')); ?>"
                                   id="sire_perfemance"
                                   value="<?php echo e(config('perameters.sire_perfemance')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="calving_preparation"><?php echo e(__('messages.calving_preparation')); ?>

                                (<?php echo e(__('messages.before_calving')); ?>)</label>
                            <input type="text" class="form-control" name="calving_preparation"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.calving_preparation')); ?>(<?php echo e(__('messages.before_calving')); ?>)"
                                   id="calving_preparation"
                                   value="<?php echo e(config('perameters.calving_preparation')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row mt-3">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="fertility_problem"><?php echo e(__('messages.fertility_problem')); ?></label>
                            <input type="text" class="form-control" name="fertility_problem"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.fertility_problem')); ?>"
                                   id="fertility_problem"
                                   value="<?php echo e(config('perameters.fertility_problem')); ?>"/>
                        </div>
                    </div>

                </div>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('action peremeter.edit')): ?>
                    <div class="mt-5 d-flex justify-content-end">
                        <div>
                            <button type="submit" class="btn btn-primary">
                                <?php echo e(__('messages.update')); ?>

                            </button>
                        </div>
                    </div>
                <?php endif; ?>
            </form>
        </div>
        <div class="tab-pane" id="general" role="tabpanel">
            <form action="<?php echo e(route('action-perameters.update')); ?>" method="POST" role="form" id="form1"
                  enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="calf_age_limit"><?php echo e(__('messages.calf_age_limit')); ?>

                                (<?php echo e(__('messages.after_birth')); ?>)</label>
                            <input type="text" class="form-control" name="calf_age_limit"
                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.days').' '.__('messages.after_birth')); ?>"
                                   id="calf_age_limit"
                                   value="<?php echo e(config('perameters.calf_age_limit')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label" for="adult_age_start"><?php echo e(__('messages.breeding_starting_age')); ?>

                                (<?php echo e(__('messages.heifer_limit')); ?>)</label>
                            <input type="text" class="form-control" name="adult_age_start"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.breeding_starting_age')); ?>"
                                   id="adult_age_start"
                                   value="<?php echo e(config('perameters.adult_age_start')); ?>"/>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="daily_milk_production_morning"><?php echo e(__('messages.daily_milk_production')); ?>

                                (<?php echo e(__('messages.morning')); ?>)</label>
                            <input type="text" class="form-control" name="daily_milk_production_morning"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.daily_milk_production')); ?>"
                                   id="daily_milk_production_morning"
                                   value="<?php echo e(config('perameters.daily_milk_production_morning')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row mt-3">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label class="form-label"
                                   for="daily_milk_production_evening"><?php echo e(__('messages.daily_milk_production')); ?>

                                (<?php echo e(__('messages.evening')); ?>)</label>
                            <input type="text" class="form-control" name="daily_milk_production_evening"
                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.daily_milk_production')); ?>"
                                   id="daily_milk_production_evening"
                                   value="<?php echo e(config('perameters.daily_milk_production_evening')); ?>"/>
                        </div>
                    </div>
                </div>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('action peremeter.edit')): ?>
                    <div class="mt-5 d-flex justify-content-end">
                        <div>
                            <button type="submit" class="btn btn-primary">
                                <?php echo e(__('messages.update')); ?>

                            </button>
                        </div>
                    </div>
                <?php endif; ?>
            </form>
        </div>
        <div class="tab-pane" id="age_limit" role="tabpanel">
            <form action="" method="POST" role="form" id="form1"
                  enctype="multipart/form-data">
                <?php echo csrf_field(); ?>

                <div class="row">
                    <div class="col-md-6">
                        <div class="card">
                            <div class="card-header">
                                <h6 class=" text-dark"><?php echo e(__('messages.calf_age_limit_determination')); ?></h6>
                            </div>
                            <div class="card-body">
                                <div class="row">
                                    
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="calf_age_limit_start"><?php echo e(__('messages.calf_age_start')); ?></label>
                                            <input type="text" class="form-control" name="calf_age_limit_start"
                                                   placeholder="<?php echo e(__('messages.enter').' '.__('messages.months')); ?>"
                                                   id="calf_age_limit_start"
                                                   value="<?php echo e(config('perameters.calf_age_limit_start')); ?>"/>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="calf_age_limit_end"><?php echo e(__('messages.calf_age_end')); ?></label>
                                            <input type="text" class="form-control" name="calf_age_limit_end"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="calf_age_limit_end"
                                                   value="<?php echo e(config('perameters.calf_age_limit_end')); ?>"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="card">
                            <div class="card-header">
                                <h6 class="text-dark"><?php echo e(__('messages.young_stock')); ?>

                                    3 <?php echo e(__('messages.age_limit_determination')); ?></h6>
                            </div>
                            <div class="card-body">
                                <div class="row">
                                    
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_3_start"><?php echo e(__('messages.young_stock')); ?> 3
                                                (<?php echo e(__('messages.start')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_3_start"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_3_start"
                                                   value="<?php echo e(config('perameters.young_stock_3_start')); ?>"/>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_3_end"><?php echo e(__('messages.young_stock')); ?> 3
                                                (<?php echo e(__('messages.end')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_3_end"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_3_end"
                                                   value="<?php echo e(config('perameters.young_stock_3_end')); ?>"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row mt-4">
                    <div class="col-md-6">
                        <div class="card">
                            <div class="card-header">
                                <h6 class="text-dark"><?php echo e(__('messages.young_stock')); ?>

                                    2 <?php echo e(__('messages.age_limit_determination')); ?></h6>
                            </div>

                            <div class="card-body">
                                <div class="row">
                                    
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_2_start"><?php echo e(__('messages.young_stock')); ?> 2
                                                (<?php echo e(__('messages.start')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_2_start"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_2_start"
                                                   value="<?php echo e(config('perameters.young_stock_2_start')); ?>"/>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_2_end"><?php echo e(__('messages.young_stock')); ?> 2
                                                (<?php echo e(__('messages.end')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_2_end"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_2_end"
                                                   value="<?php echo e(config('perameters.young_stock_2_end')); ?>"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="card">
                            <div class="card-header">
                                <h6 class="text-dark"><?php echo e(__('messages.young_stock')); ?>

                                    1 <?php echo e(__('messages.age_limit_determination')); ?></h6>
                            </div>

                            <div class="card-body">
                                <div class="row">
                                    
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_1_start"><?php echo e(__('messages.young_stock')); ?> 1
                                                (<?php echo e(__('messages.start')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_1_start"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_1_start"
                                                   value="<?php echo e(config('perameters.young_stock_1_start')); ?>"/>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label class="form-label"
                                                   for="young_stock_1_end"><?php echo e(__('messages.young_stock')); ?> 1
                                                (<?php echo e(__('messages.end')); ?>)</label>
                                            <input type="text" class="form-control" name="young_stock_1_end"
                                                   placeholder="<?php echo e(__('messages.enter') . ' '.__('messages.months')); ?>"
                                                   id="young_stock_1_end"
                                                   value="<?php echo e(config('perameters.young_stock_1_end')); ?>"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('action peremeter.edit')): ?>
                    <div class="mt-5 d-flex justify-content-end">
                        <div>
                            <button type="submit" class="btn btn-primary">
                                <?php echo e(__('messages.update')); ?>

                            </button>
                        </div>
                    </div>
                <?php endif; ?>
            </form>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\practice\ml_firm\resources\views/backend/action-perameter/index.blade.php ENDPATH**/ ?>