Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/storage/framework/views/ad5ca1bd3a855dfd1bb1735680e870dd.php
Назад
<?php $__env->startSection('title', 'Annual Due'); ?> <?php $__env->startPush('front-styles'); ?> <style> .annual-dues-sec { padding: 120px 0px; } .annual-dues-card .child-field { margin-bottom: 0; } .annual-dues-card { display: flex; flex-direction: column; gap: 25px; } .annual-dues-sec .accordion-button { margin-bottom: 5px; font-size: 18px; font-weight: 500; text-transform: uppercase; font-family: "RobotoSlab-Medium"; color: #000 !important; } .accordion-button:focus { border-color: transparent; box-shadow: unset; } .cart-school-directories{border: 0;padding: 0px 0px;} </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <?php $childName = old('child_full_name'); $oldGrade = old('grade', 'PS3'); $oldShirtSize = old('shirt_size', '3T'); $oldPartyContribution = old('party_contribution', $siteSettings->party_contribution); $oldChildrenDirectory = old('school_directory_quantity', 00); ?> <?php if(empty($hotLunch)): ?> <section class="lunch-program-sec"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="lps-head"> <h3>No Lunch Program Available</h3> </div> </div> </div> </div> </section> <?php else: ?> <section class="annual-dues-sec"> <div class="container"> <div class="row"> <div class="col-md-12"> <?php echo $__env->make('partials.alert', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <form method="POST" action="<?php echo e(route('annual.due.add.data')); ?>"> <?php echo csrf_field(); ?> <div class="accordion" id="accordionChild-1"> <div class="accordion-item"> <h2 class="accordion-header" id="headingChild-1"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> Annual Dues </button> </h2> <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionChild-1"> <div class="accordion-body"> <div class="annual-dues-card"> <div class="child-field"> <label for="" class="genr-label">Child Full Name</label> <input type="text" placeholder="Jeff Jorden" name="child_full_name" value="<?php echo e($childName); ?>"> </div> <div class="student-grade"> <div class="select-grade-main"> <div class="select-grade-head"> <label for="" class="genr-label">Select Grade</label> </div> <div class="row"> <div class="col-md-12 col-lg-10"> <div class="row"> <?php $__currentLoopData = $schools; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $school): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-<?php echo e(count($school->grades) > 3 ? '6' : '3'); ?>"> <div class="pre-school"> <label class="prs-head"><?php echo e($school->title); ?></label> <div class="radio-boxes"> <?php $__currentLoopData = $school->grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gradeKey => $grade): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <input type="radio" class="child_grade" name="grade" value="<?php echo e($grade->title); ?>" id="<?php echo e($grade->title); ?>" <?php if($grade->title === $oldGrade): echo 'checked'; endif; ?>> <label for="<?php echo e($grade->title); ?>"><?php echo e($grade->title); ?></label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> <div class="student-shirt-size "> <div class="size-text-div mt-3 mb-3"> <h5>Community Service/Field Trip Shirt & Class Fund</h5> <p>Please select the size of your child’s red t-shirt for the year. Class Fund is <?php echo e($siteSettings->class_funds); ?> and goes to support luncheons, birthdays and thank you gifts for your teacher.</p> </div> <div class="radio-boxes"> <?php $__currentLoopData = $shirtSizes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $shirt): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <input type="radio" class="t_type" name="shirt_size" id="<?php echo e($shirt->size); ?>" value="<?php echo e($shirt->size); ?>"> <label for="<?php echo e($shirt->size); ?>"><?php echo e($shirt->size); ?></label> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="graduation-fees" style="display: none"> <div class="child-field"> <label for="" class="genr-label">Contribute For Graduation Parties</label> <input type="number" min="<?php echo e($siteSettings->party_contribution); ?>" value="<?php echo e($oldPartyContribution); ?>" name="party_contribution" class="party_contribution"> </div> </div> <div class="cart-school-directories m-0"> <div class="d-flex flex-column"> <h5>School Directories<br> </h5> <p>(printed school directory including class lists, teachers and staff along with other important school info)</p> </div> <div class="cart-counter"> QTY. <a href="javascript:void(0)" onclick="decrement()">-</a> <input type="number" name="school_directory_quantity" id="counterVal" value="<?php echo e($oldChildrenDirectory); ?>" readonly> <a href="javascript:void(0)" onclick="increment()">+</a> </div> <span>$<?php echo e($siteSettings->school_directory); ?>/Each</span> </div> <?php if(empty($orderExit)): ?> <div class="cart-school-directories"> <div class="d-flex flex-column"> <h5>Annual Dues </h5> </div> <span style="font-size: 30px;">$<?php echo e($siteSettings->annual_dues); ?></span> </div> <?php endif; ?> </div> </div> </div> </div> </div> <?php if(auth()->guard()->check()): ?> <div class="add-submit d-flex justify-content-between mt-5"> <div class="add-more text-"> <button class="nxt-btn" type="submit">Submit</button> </div> </div> <?php else: ?> <div class="add-submit d-flex justify-content-between mt-5"> <div class="add-more text-"> <button class="nxt-btn" type="button" onclick="LoginFirst()">Submit</button> </div> </div> <?php endif; ?> </form> </div> </div> </div> </section> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('front-scripts'); ?> <script src="<?php echo e(asset('assets/front/js/global.js')); ?>"></script> <script src="<?php echo e(asset('assets/admin/js/axios.min.js')); ?>"></script> <script src="<?php echo e(asset('assets/admin/js/sweetalert.min.js')); ?>"></script> <script> let counter = '<?php echo e($oldChildrenDirectory); ?>'; const counterVal = document.getElementById("counterVal"); function formatCounter(value) { return value.toString().padStart(2, "0"); } function increment() { counter++; counterVal.value = formatCounter(counter); } function decrement() { if (counter > 0) { counter--; } counterVal.value = formatCounter(counter); } $(function (){ let oldGrade = '<?php echo e($oldGrade); ?>'; if(oldGrade === "8th") { $(".graduation-fees").show(); }else{ $(".graduation-fees").hide(); } }); $('.child_grade').on('change', function (){ if($(this).val() === "8th") { $(".graduation-fees").show(); }else{ $(".graduation-fees").hide(); } }); var proceed = false; function checkOut(){ let isFalse = true; if($('.child_grade').val() === "8th") { let contributionVal = $(".graduation-fees").val(); if(contributionVal < '<?php echo e($siteSettings->party_contribution); ?>'){ swal({ title: "You have to contribute at least $<?php echo e($siteSettings->party_contribution); ?>", icon: "error", dangerMode: true, closeOnClickOutside: false }); isFalse = false; } } if(isFalse){ proceed = true; } if(proceed){ let schoolDirectoryQuantity = 0; if($("#counterVal").length && $("#counterVal").val() > 0){ schoolDirectoryQuantity = $("#counterVal").val(); } let tSizes = []; let graduationFee = {}; $.each($(".child-card"), function (){ tSizes.push("3T"); if($(this).find(".party_contribution").val()){ graduationFee[$(this).find(".party_contribution").data('user')] = $(this).find(".party_contribution").val(); } }); $(".cart-left input[type=radio]:checked").each(function(k, v) { if(this.checked == true) { tSizes[k] = $(v).val(); } }); showLoader(); axios.post(`<?php echo e(route('home')); ?>`,{ school_directory_quantity: schoolDirectoryQuantity, t_type: tSizes, annual_graduation_contribution: graduationFee }).then(function(response) { hideLoader(); window.location.href = response.data.route; }).catch(function(error) { hideLoader(); swal({ title: error.response.data.msg, icon: "error", dangerMode: true, closeOnClickOutside: false }); }); } } function LoginFirst() { swal({ title: "You have to login first.", icon: "error", dangerMode: true, closeOnClickOutside: false }).then((btn) => { window.location.href = '<?php echo e(route('login')); ?>'; }); } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('front.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/clickysoft/public_html/calvary-p2.clickysoft.net/resources/views/front/annual-due/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка