One Hat Cyber Team
Your IP :
18.118.207.114
Server IP :
104.21.16.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
staging.gftag.com
/
resources
/
views
/
Edit File:
settings.blade.php
@extends('layouts.master') @section('styles') <style> .check { margin-left: 1.26rem; margin-top: 24px; } </style> <link rel="stylesheet" href="{{ asset('css/separate/vendor/bootstrap-select/bootstrap-select.min.css') }}"> <link rel="stylesheet" href="{{ asset('css/separate/vendor/select2.min.css') }}"> @endsection @section('content') <div class="page-content"> <div class="container-fluid"> @if(session()->has('message')) <div class="alert alert-info alert-fill alert-close alert-dismissible fade in"> <strong>{{ session()->get('message') }}</strong> </div> @endif @if (count($errors) > 0) <div class = "alert alert-danger alert-fill alert-close alert-dismissible fade in"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif <section class="card"> <div class="row"> <div class="col-lg-6 p-t"> <h3 class="p-l">Settings</h3> </div> </div> </section> <div class="box-typical box-typical-padding"> <form action="{{ route('update-settings')}} " method="post" enctype="multipart/form-data"> {!! csrf_field() !!} <div class="row"> <input type="hidden" name="id" value="{{$organisation->id}}"> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Organisation Name</label> <input type="text" name="name" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->name : ''}}"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Email</label> <input readonly type="text" name="email" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->email : ''}}"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Phone</label> <input type="text" name="phone" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->phone : ''}}"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Organisation Address</label> <input type="text" name="address" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->address : ''}}"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">GST Number</label> <input type="text" name="gst_no" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->gst_no : ''}}"> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">State</label> <select required class="form-control" name="state"> @foreach($states as $state) <option value="{{$state->id}}" @if($organisation->state_id == $state->id) selected @endif >{{$state->name}}</option> @endforeach </select> </fieldset> </div> <div class="col-lg-12"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Bank Details</label> <textarea class="form-control" name="bank_details" value="{{!empty($organisation) ? $organisation->bank_details : ''}}">{{!empty($organisation) ? $organisation->bank_details : ''}}</textarea> </fieldset> </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1"> Logo </label> <input type="file" name="logo" class="form-control" id="exampleInputPassword1"> </fieldset> @if($organisation->logo) <img src="{{$organisation->logo}}" width="100"/> @endif </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1"> Digital Signature </label> <input type="file" name="signature" class="form-control" id="exampleInputPassword1"> </fieldset> @if($organisation->signature) <img src="{{$organisation->signature}}" width="100"/> @endif </div> </div><!--.row--> <h4 class="m-t-3">Shareholder Settings</h4> <div class="row"> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1"> Director Signature </label> <input type="file" name="director_signature" class="form-control" id="exampleInputPassword1"> </fieldset> @if($organisation->director_signature) <img src="{{$organisation->director_signature}}" width="100"/> @endif </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1"> Authorized Signature </label> <input type="file" name="authorized_signature" class="form-control" id="exampleInputPassword1"> </fieldset> @if($organisation->authorized_signature) <img src="{{$organisation->authorized_signature}}" width="100"/> @endif </div> <div class="col-lg-6"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">CIN</label> <input type="text" name="cin_number" class="form-control" id="exampleInput" value="{{!empty($organisation) ? $organisation->cin_number : ''}}"> </fieldset> </div> </div> <div class="row m-t"> <div class="col-lg-12"> <button type="submit" name="update_organisation" class="btn btn-inline btn-success p-x-3 p-y">Update </button> </div> </div> </form> </div><!--.box-typical--> </div> </div> @endsection @section('scripts') <script src="{{ asset('js/lib/bootstrap-select/bootstrap-select.min.js') }}"></script> <script src="{{ asset('js/lib/select2/select2.full.min.js') }}"></script> <script> $(document).ready(function(){ $(".deactivate").on('change', function(e){ e.preventDefault(); if($(this).is(':checked')){ $(this).val(1); } else{ $(this).attr('checked',''); $(this).val(0); } }); }) </script> @endsection
Simpan