PATH:
home
/
centosnipponia
/
public_html
/
ts
/
storage
/
framework
/
views
<div class="tab-pane fade show active" id="tabs-summary" role="tabpanel" aria-labelledby="pills-summary-tab" tabindex="0"> <div class="card-body"> <form class="form-horizontal" method="POST" action="<?php echo e(route("cases.revise",$case->id)); ?>"> <?php echo csrf_field(); ?> <?php if($action=="review"): ?> <?php echo method_field('PUT'); ?> <?php endif; ?> <h3>Case Details</h3> <div class="form-group"> <label for="subject">Subject <span class="text-danger">*</span></label> <input id="subject" type="text" class="form-control" name="subject" value="<?php echo e(old('subject')??$case->subject??''); ?>" placeholder="Enter a subject" required> <div class="help-block with-errors"> <?php $__errorArgs = ['subject']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <div class="alert alert-danger"><?php echo e($message); ?></div> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="form-group"> <label for="description"><?php echo e(__('Description')); ?> <span class="text-danger">*</span></label> <textarea name="description" id="description" class="form-control" rows="5" disabled><?php echo e(old('description')??$case->description??''); ?></textarea> </div> <div class="form-group"> <label for="model"><?php echo e(__('Model')); ?> <span class="text-danger">*</span> <i class="fa fa-info-circle text-primary" data-toggle="tooltip" aria-hidden="true" title="Use no spaces between the model's name and displacement (For example, BRIO110) "> </i></label> <input id="model" type="text" class="form-control" name="model" value="<?php echo e(old('model')??$case->model??''); ?>" placeholder="" required> </select> </div> <div class="form-group"> <label for="purchase_order">Purchase Order</label> <input id="purchase_order" type="text" class="form-control" name="purchase_order" value="<?php echo e(old('purchase_order')??$case->purchase_order??''); ?>" placeholder="Enter Purchase Order"> </div> <label for="files" class="mt-2"><?php echo e(__('Files')); ?> </label> <?php if(isset($photos)): ?> <ul style="list-style-type:circle;" class="mb-1"> <?php $__currentLoopData = $photos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a class="link-info2" href="<?php echo e($photos_path.basename($photo)); ?>" target="_blank"><?php echo e(basename($photo)); ?></a></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <a class="link-primary" href="<?php echo e(route('directives.files',$case->id)); ?>">View all</a> <?php endif; ?> <div class="my-4" x-data="{ vins: [] , showvin: vin=>vin[0]+' - '+vin[1]+'km', }"> <div class="form-group" > <label>Vechicle Identities <span class="text-danger">*</span> <i class="fa fa-info-circle text-primary" data-toggle="tooltip" aria-hidden="true" title="Enter VIN & distance travelled in kilometers and press "Add VIN""> </i></label> <div class="input-group"> <input id="newVIN" type="text" min="0" class="form-control" placeholder="Enter new VINs here" @keydown.enter.prevent="addVIN.click()"> <input id="newKM" type="number" min="0" step="1" class="form-control" placeholder="Mileage (km)" @keydown.enter.prevent="addVIN.click()" style="max-width:200px"> <button class="btn btn-secondary" type="button" id="addVIN" @click=" if (newVIN.value.length>0) {vins.push([newVIN.value,newKM.value||0])}; newVIN.value='';newKM.value='' "> Add VIN </button> </div> <div class="form-group my-2 bg-light"> <select name="vins[]" id="vins" class="form-control select2" multiple="multiple" size="1" required> <?php $__currentLoopData = $case->vins??[]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e(implode(',',$vin->as_array())); ?>" selected ><?php echo e($vin->vin); ?> - <?php echo e($vin->distance); ?>km</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <template x-for="vin in vins"> <option :value="vin.toString()" x-text="showvin(vin)" selected></option> </template> </select> </div> </div> </div> <div class="form-group"> <label for="submitter">Submitter</label> <input id="submitter" type="text" class="form-control" name="submitter" value="<?php echo e(old('submitter')??$case->user->name??''); ?>" disabled> </div> <div class="row"> <div class="form-group col-md-4"> <label for="country">Applicable country <span class="text-danger">*</span></label> <select name="country" id="country" class="form-select" required> <option value="" ></option> <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($country->id); ?>" <?php echo e((old('country')==$country->id || $case->country_id==$country->id ) ? 'selected':''); ?> ><?php echo e($country->shortname.' - '.$country->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <hr class="mt-5 border border-dark"> <h3>Nipponia Notes</h3> <script> //if there is no case->category, it becomes: '', corresponding to the value="" option let category = "<?php echo e(old('category')??$case->category); ?>"; let issue = "<?php echo e(old('issue')??$case->issue); ?>"; let part = "<?php echo e(old('subissue')??$case->part); ?>"; let categories = ["Electrical", "Mechanical", "Frame parts"]; var issues = [ ["Electrical", "Assembly"], ["Electrical", "Damage"], ["Electrical", "Charging"], ["Electrical", "Defect"], ["Electrical", "Delivery"], ["Electrical", "Noise"], ["Electrical", "Malfunction"], ["Electrical", "Packaging"], ["Electrical", "Paint"], ["Electrical", "Rust"], ["Electrical", "Scratches"], ["Electrical", "Short-circuit"], ["Electrical", "Update"], ["Mechanical", "Assembly"], ["Mechanical", "Damage"], ["Mechanical", "Defect"], ["Mechanical", "Delivery"], ["Mechanical", "Noise"], ["Mechanical", "Fuel feed"], ["Mechanical", "Malfunction"], ["Mechanical", "Packaging"], ["Mechanical", "Paint"], ["Mechanical", "Rust"], ["Mechanical", "Scratches"], ["Frame parts", "Assembly"], ["Frame parts", "Damage"], ["Frame parts", "Defect"], ["Frame parts", "Delivery"], ["Frame parts", "Noise"], ["Frame parts", "Malfunction"], ["Frame parts", "Packaging"], ["Frame parts", "Paint"], ["Frame parts", "Rust"], ["Frame parts", "Scratches"] ]; var parts = [ ["Electrical", "Battery"], ["Electrical", "Charger"], ["Electrical", "Controller"], ["Electrical", "Convertor"], ["Electrical", "Headlight"], ["Electrical", "Ignition"], ["Electrical", "Instrument"], ["Electrical", "Left switch"], ["Electrical", "Motor"], ["Electrical", "Power switch"], ["Electrical", "Right switch"], ["Electrical", "Taillight"], ["Electrical", "T-box"], ["Electrical", "Throttle"], ["Electrical", "Winkers"], ["Electrical", "Wire harness"], ["Electrical", "Wiring"], ["Mechanical", "Belt"], ["Mechanical", "Bearings"], ["Mechanical", "Carburetor"], ["Mechanical", "Clutch"], ["Mechanical", "Crankshaft"], ["Mechanical", "CVT"], ["Mechanical", "Cylinder / Piston / Rings"], ["Mechanical", "Muffler"], ["Mechanical", "Oil pump"], ["Frame parts", "Bearings"], ["Frame parts", "Brackets"], ["Frame parts", "Brake disc"], ["Frame parts", "Brake pad"], ["Frame parts", "Cables"], ["Frame parts", "Calipers"], ["Frame parts", "CBS"], ["Frame parts", "Covers"], ["Frame parts", "Fender"], ["Frame parts", "Front fork"], ["Frame parts", "Fuel tank"], ["Frame parts", "Grips"], ["Frame parts", "Levers"], ["Frame parts", "Master cylinder"], ["Frame parts", "Mirrors"], ["Frame parts", "Rear absorber"], ["Frame parts", "Rims"], ["Frame parts", "Seat"], ["Frame parts", "Side covers"], ["Frame parts", "Stand"], ["Frame parts", "Sticker / logo"], ["Frame parts", "Throttle"], ["Frame parts", "Tyres"] ]; </script> <div id="categorization" class="row" x-data="{ categories, issues, parts, category, issue, part, get filteredIssues() { return this.issues.filter( (issue)=>{return issue[0]===this.category} ) ; }, get filteredParts() { return this.parts.filter( (part)=>{return part[0]===this.category} ); }, }"> <div class="form-group col-md-4"> <label for="category"><?php echo e(__('Category')); ?> <span class="text-danger">*</span></label> <select name="category" id="category" x-model="category" class="form-select" required> <option value="" disabled><?php echo e(__('Please select category first...')); ?></option> <template x-for="categOption in categories" :key="categOption"> <option x-text="categOption" :value="categOption" :selected="categOption==category"></option> </template> </select> </div> <div class="form-group col-md-4"> <label for="issue"><?php echo e(__('Issue')); ?></label> <select name="issue" id="issue" x-model="issue" class="form-select"> <option value="" ><?php echo e(__('Please select...')); ?></option> <template x-for="[cat,issueOption] in filteredIssues"> <option x-text="issueOption" :value="issueOption" :selected="issueOption==issue"></option> </template> </select> </div> <div class="form-group col-md-4"> <label for="part"><?php echo e(__('Part')); ?></label> <select name="part" id="part" x-model="part" class="form-select"> <option value="" ><?php echo e(__('Please select...')); ?></option> <template x-for="[cat,partOption] in filteredParts"> <option x-text="partOption" :value="partOption" :selected="partOption==part"></option> </template> </select> </div> </div> <div class="row"> <div class="form-group col-md-4"> <label for="status"><?php echo e(__('Status')); ?> <span class="text-danger">*</span></label> <select name="status" id="status" class="form-select"> <?php $__currentLoopData = $statuses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($status->id); ?>" <?php if($status->id == $case->status_id): ?> <?php echo e('selected'); ?> <?php endif; ?> ><?php echo e($status->statusname); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="form-group"> <label for="notes"><?php echo e(__('Notes')); ?> </label> <textarea name="notes" id="notes" class="form-control" rows="5"><?php echo e(old('notes')??$case->notes??''); ?></textarea> <div class="help-block with-errors"> <?php $__errorArgs = ['notes']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <div class="alert alert-danger"><?php echo e($message); ?></div> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="form-group m-4"> <input class="form-check-input" type="checkbox" id="approved" name="approved" <?php if($case->approved == 1): ?> <?php echo e('checked'); ?> <?php endif; ?> value="1" > <label class="form-check-label" for="approved" >Claim approved</label> </div> <div class="form-group m-4"> <input class="form-check-input" type="checkbox" id="reminder" name="reminder" value="1" <?php if($case->reminder == 1): ?> <?php echo e('checked'); ?> <?php endif; ?> > <label class="form-check-label" for="reminder" >Reminder for next order</label> </div> <div class="form-group"> <label for="reminder_desc"><?php echo e(__('Reminder')); ?></label> <textarea name="reminder_desc" id="reminder_desc" rows="5" class="form-control" value="1" <?php if (! ($case->reminder == 1)): ?> <?php echo e('disabled'); ?> <?php endif; ?> ><?php echo e(old('reminder_desc')??$case->reminder_desc); ?></textarea> </div> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('review_cases')): ?> <hr class="my-4 border border-dark"> <div class="text-end"> <div class="form-group mt-4"> <input class="form-check-input" type="checkbox" id="donotmail" name="donotmail" value="1" checked> <label class="form-check-label" for="donotmail" >Do not send an update e-mail</label> </div> <div><button class="btn btn-success show-spinner" type="submit">Update Summary</button></div> <div class="spinner spinner-border text-success my-2 mx-5 d-none" role="status"></div> </div> <?php endif; ?> </form> </div> </div> <?php /**PATH /home/centosnipponia/public_html/ts/resources/views/support/technical_cases/tabs/summary.blade.php ENDPATH**/ ?>
[+]
..
[-] .gitignore
[edit]
[-] fdd02708d229f4db19e2423174c339a3fc118642.php
[edit]
[-] e73a93f6aa665a7de2a3a9fc30b3c221519d1fed.php
[edit]
[-] da0f324375006cfcd0a3999f2c2662411833604b.php
[edit]
[-] 1db511d5e02ebb48bff39a3f6992f6b23a94fc0f.php
[edit]
[-] 276a1c26ffaed4772317b1f39b7f9ef8eeb4d2e7.php
[edit]
[-] 4899c932b7b15a1224af38931b59168a1bfaa70a.php
[edit]
[-] 2b0f25f46aba744641b72a78c2b7390daee87b06.php
[edit]
[-] 40e1d60d9ea26d555636acdade614fb87d542b29.php
[edit]
[-] bcee05f7f71551f5f8ac465ed87c5b5e0ca5961b.php
[edit]
[-] d64664bfccf835303a3b3e55d345de8242e271d0.php
[edit]
[-] cce7096c30c5897688d77348d7165eaf790a65a6.php
[edit]
[-] 44f93c44787adb5e05dcaeb7209f04943ceb6d05.php
[edit]
[-] 3fa8451d4c94db0aeed2338d6da37a2b88a4b17f.php
[edit]
[-] 8bd3cda0ec4fb61ca913683414a91cb52b3162fe.php
[edit]
[-] 69a4211a4c1250e9d0497304305618b51dfe4615.php
[edit]
[-] 3d0ff0c3a7fb17b82a54c0335d421b5fade4429e.php
[edit]
[-] 730805c85ac09e46dd8282f0720a4a477a627116.php
[edit]
[-] c7c064123380a8a268c99d7bc327175254242726.php
[edit]
[-] 905adf4b1d0a607972d279a46fd2a27f6f1605dc.php
[edit]
[-] 9eb77ba8cf43fa7e6cb78ce942756a7f1562f918.php
[edit]
[-] 9b2cd1c521f1f39f00aa02b64d9efb2fd22cc1e2.php
[edit]
[-] d6d3471e156359f834e4b772322ad60359fc2e50.php
[edit]
[-] 70f5fd5af592042e094432bd41e6b1c2736ecce9.php
[edit]
[-] 7f8105f24ba6f5826f9738966cadb8219450ad4c.php
[edit]
[-] 50350af9f4d22413d22b48e7b460f600ee6b6eac.php
[edit]
[-] 9f0ae0f8ce5120d705d416ce096c9d547478a498.php
[edit]
[-] 54796878c1794a3464e9eeb13c7701ebf89e83c9.php
[edit]
[-] 6c1bdb14271226a006d6d72e8aa55d2f394d95a9.php
[edit]
[-] a179fb89a71903715a6e670b1e9ed9af6a279ef7.php
[edit]
[-] fa2fab5394de14a419d5b63677816bedddd042be.php
[edit]
[-] 0b1f8f98af835a0a7b05e38381bf83ee1df85c5f.php
[edit]
[-] 1ca1fd8d8903c627bf04bf79996d2d02f0f96979.php
[edit]
[-] 89fcc7f5528c83f365392bb079be2c0ba9e5b9cb.php
[edit]
[-] 539242f89f9f1b6d867280aeb776a28eb48ad7cc.php
[edit]
[-] dd90d74bb1ac66a15566ccff2828a076372c457d.php
[edit]
[-] 8696f061802795378c7a73cc1ffa6288851e84b9.php
[edit]
[-] a98bfba760c59b10b7a5b1b6e5349122e110fcbe.php
[edit]
[-] bafee4e3310a9885b2bd8ae9f4e4c8b62785746f.php
[edit]
[-] 1d0363d971d65569c52f94dfb2177092ec0ce8a5.php
[edit]
[-] 91498dd271e5dce32df4ebe9f011b6357aab36ad.php
[edit]
[-] 865621633ee89a6711a5b761f3eb72aa944231f9.php
[edit]
[-] 56f48baaff5495c7c112c88184397678220c5f91.php
[edit]
[-] 530da188594faf816d183b2cf9714f9fc01c7895.php
[edit]
[-] 5d87950e0f0873755fdc2872863d00161139ebc3.php
[edit]
[-] 7d7970493e6ab8cc229289058743ee1e083a90db.php
[edit]
[-] ce38c81df615627ec5b27ccd71dd743f989fd85e.php
[edit]
[-] 0b6908f46c4dd83e28e91c3a13803b09ae7309ff.php
[edit]
[-] c2185648c7ab88e1a6943bf5f294dcb65f00867c.php
[edit]
[-] d6348442f9b157486fec163677516b138e2765f3.php
[edit]
[-] 2d0fc70eea61583d3e6ebd13e5ae561142314441.php
[edit]
[-] 91ef55fded6ea18a3c936fabf87f475b1386b0e9.php
[edit]
[-] cb80b10ae3ecf314dc7a8f9f1528a820474abca9.php
[edit]
[-] 768e5c774050a823dd862ccff4054029f447aeaf.php
[edit]
[-] 08820601a8d76470a9509f8d1246ac39dcfb5744.php
[edit]
[-] 5a7f0b38d6d47b4d43e28b2938442c8b3607f436.php
[edit]
[-] fe5e0563e89d94b8a30d37e743794d0cab61fee5.php
[edit]
[-] e30dd9aaffd771bb1529d623321e87b18f2cfc59.php
[edit]
[-] 07018ab220824d23bc4b76dec8f98d16ff366cd8.php
[edit]
[-] 0221622ebc317fca20c207e0cf994d27b070df9b.php
[edit]
[-] f4f77464f13a8ca62b5b5a96857e41b01acf277b.php
[edit]
[-] b94d25cb663a9e45c4f6ca37de434b3ad2e6f596.php
[edit]
[-] e81f4b363d6fe598a2125bac734247a0f318487d.php
[edit]
[-] 8134fa768c9c676b3d746b20452145919b17614d.php
[edit]
[-] 1ee05c46c41c75adb055f5ecabd0378a8a9d82d7.php
[edit]
[-] acd72f89416bfb46dcdc91745877043e39cf6151.php
[edit]
[-] c5f2010e1c87205621c960d1150978c260a8f328.php
[edit]
[-] 769f699fb5b47ae49c2be6d5bae3d4b7b8c48be3.php
[edit]
[-] .htaccess.disabled
[edit]