

<?php $__env->startSection('content'); ?>
    <!--begin::App Content Header-->
    <div class="app-content-header">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-6">
                    <h3 class="mb-0">Create Form Daily 4.1</h3>
                    <!-- Info Button -->
                    <button type="button" class="btn btn-info btn-sm" data-bs-toggle="modal" data-bs-target="#infoModal">
                        <i class="fas fa-info-circle"></i>
                    </button>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-end">
                        <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">Home</a></li>
                        <li class="breadcrumb-item"><a href="<?php echo e(route('form41.daily.index')); ?>">Index Form4.1</a></li>
                        <li class="breadcrumb-item active">Create Form Daily 4.1</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <!--end::App Content Header-->

    <!-- Modal -->
    <div class="modal fade" id="infoModal" tabindex="-1" aria-labelledby="infoModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="infoModalLabel">Panduan Mengisi Rekod myGAP 4-1</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <ul>
                        <li><strong>Tarikh:</strong> Tarikh pemuliharaan dan rawatan tanah/substrat dijalankan.</li>
                        <li><strong>Masalah Tanah/ Substrat:</strong> Masalah seperti hakisan, tanah padat, tanah kurang subur, dsb.</li>
                        <li><strong>Kaedah Pemuliharaan/ Rawatan:</strong> Contohnya, menggemburkan tanah, pembajakan minimum, dsb.</li>
                        <li><strong>Nama Bahan/ Peralatan:</strong> Contohnya, traktor, cangkul, kapur, mikroorganisma, dsb.</li>
                        <li><strong>Kuantiti Bahan/ Peralatan:</strong> Contoh: kapur 5 kg, traktor 2 buah.</li>
                        <li><strong>Tempoh Dilarang Menanam:</strong> Tempoh larangan menanam jika berkaitan.</li>
                        <li><strong>Blok/ Lokasi:</strong> Nombor blok/lokasi rawatan dijalankan.</li>
                        <li><strong>Nama Operator:</strong> Nama individu yang terlibat dalam aktiviti tersebut.</li>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
    </div>
    <!-- End Modal -->

    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <form action="<?php echo e(route('form41.daily.store')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="card-body">
                        <div class="form-group mb-4">
                            <label for="id_farm_section">Farm Section</label>
                            <select class="form-select" name="id_farm_section" id="id_farm_section" required>
                                <option value="">Select Farm Section</option>
                                <?php $__currentLoopData = $sections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($section->id); ?>"><?php echo e($section->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>

                        <div class="form-group mb-4">
                            <label for="masalah_tanah_substrat">(a) Masalah Tanah/ Substrat</label>
                            <input type="text" name="masalah_tanah_substrat" id="masalah_tanah_substrat"
                                class="form-control" required>
                        </div>

                        <div class="form-group mb-4">
                            <label for="kaedah_pemulihan_rawatan">(b) Kaedah Pemuliharaan/ Rawatan</label>
                            <input type="text" name="kaedah_pemulihan_rawatan" id="kaedah_pemulihan_rawatan"
                                class="form-control" required>
                        </div>

                        <div class="form-group mb-4">
                            <label for="nama_bahan_peralatan">(c) Nama Bahan/ Peralatan</label>
                            <input type="text" name="nama_bahan_peralatan" id="nama_bahan_peralatan" class="form-control"
                                required>
                        </div>

                        <div class="form-group mb-4">
                            <label for="kuantiti_bahan_peralatan">(d) Kuantiti Bahan/ Peralatan</label>
                            <input type="text" name="kuantiti_bahan_peralatan" id="kuantiti_bahan_peralatan"
                                class="form-control" required>
                        </div>

                        <div class="form-group mb-4">
                            <label for="tempoh_dilarang_menanam">(e) Tempoh Dilarang Menanam</label>
                            <input type="text" name="tempoh_dilarang_menanam" id="tempoh_dilarang_menanam"
                                class="form-control">
                        </div>

                        <div class="form-group mb-4">
                            <label for="blok_lokasi">(f) Blok/ Lokasi</label>
                            <input type="text" name="blok_lokasi" id="blok_lokasi" class="form-control" required>
                        </div>

                        <div class="form-group mb-4">
                            <label for="nama_operator">(g) Nama Operator</label>
                            <input type="text" name="nama_operator" id="nama_operator" class="form-control"
                                value="<?php echo e(Auth::user()->username); ?>" readonly>
                        </div>
                    </div>

                    <div class="card-footer">
                        <button type="submit" class="btn btn-primary">Submit</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\FMIS_fypsystem\resources\views/form/form_41/create41.blade.php ENDPATH**/ ?>