<form action="<?php echo e(route('dryer.post.accept')); ?>" method="post" class="mt-3 mb-5" id="EditForm">
    <?php echo e(csrf_field()); ?>

    <input type="hidden" name="requestId" value="<?php echo e($RequestInfo->id); ?>">
    <strong class="mb-2">آیا کلاله را از همه سرتیم ها تحویل گرفتید؟</strong>
    <div class="d-flex justify-content-between mt-3">
        <div class="form-group">
            <label for="colale" class="mb-2">وزن کلاله تر (گرم)</label>
            <input type="number" step=0.01 class=" form-control" name="colale" id="colale" required>
        </div>
        <!-- <div class="form-group d-flex align-items-end">
            <span class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#disagreeModal">اعلام مغایرت</span>
        </div> -->
        <div class="form-group d-flex align-items-end">
            <button type="submit" class="btn btn-success" id="SubmitFormBtn">تحویل گرفتم</button>
        </div>
    </div>
</form>

<div class="modal fade" id="disagreeModal" tabindex="-1" aria-labelledby="disagreeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="disagreeModalLabel">اعلام مغایرت</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <p class="text-danger text-center">آیا مطمئن هستید که مغایرت اعلام کنید؟</p>
                <form action="<?php echo e(route('dryer.post.disagree')); ?>" method="post">
                    <?php echo e(csrf_field()); ?>

                    <input type="hidden" name="reqId" value="<?php echo e($RequestInfo->id); ?>">
                    <label for="reason" class="mb-2">علت مغایرت:</label>
                    <textarea name="reason" id="reason" cols="30" rows="5" class="form-control" required></textarea>
                    <div class="d-flex justify-content-center mt-3">
                        <button type="submit" class="btn btn-danger">ثبت مغایرت</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div><?php /**PATH /home1/zarborji/public_html/resources/views/dryer/list/form.blade.php ENDPATH**/ ?>