<?php echo e(Form::open(['route' => 'appraisal-final-scores.store', 'method' => 'POST'])); ?>

<div class="modal-body">
    <div class="row">
        
        <?php echo e(Form::hidden('appraisal_review_id', $appraisalReview->id)); ?>

        <?php echo e(Form::hidden('action_type', $finalRatingAction->action_type)); ?>

        <?php echo e(Form::hidden('merit_id', $finalRatingAction->id)); ?>


        
        <div class="col-md-12 mb-3">
            <h5 class="text-primary mb-1 text-capitalize">
                <?php echo e(str_replace('_', ' ', $finalRatingAction->action_type)); ?>

            </h5>
            <div>Note: <?php echo e($finalRatingAction->extra_notes); ?></div>
            <div>Salary Merit: <?php echo e($finalRatingAction->merit_percent ?? "No Salary Increment"); ?> %</div>
            <div>Bonus Multiplier: <?php echo e($finalRatingAction->bonus_multiplier ?? "No Extra Bonus"); ?></div>
            <p class="text-muted small">
                <?php echo e(__('This action was automatically determined by the final score using the Merit and Compensation Table.')); ?>

            </p>
            <hr>
        </div>

        <div class="col-md-12 mb-3">
            <?php echo e(Form::label('notes', __('Notes (optional)'), ['class' => 'form-label fw-bold'])); ?>

            <?php echo e(Form::textarea('notes', null, [
    'class' => 'form-control',
    'rows' => 3,
    'placeholder' => ""
])); ?>

        </div>

    </div>
</div>

<div class="modal-footer">
    <button type="button" class="btn btn-light" data-bs-dismiss="modal">
        <?php echo e(__('Cancel')); ?>

    </button>
    <button type="submit" class="btn btn-primary">
        <?php echo e(__('Save Action')); ?>

    </button>
</div>
<?php echo e(Form::close()); ?>

<?php /**PATH /var/www/payraty/hris/resources/views/appraisal_final_scores/create.blade.php ENDPATH**/ ?>