]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
projecthelpglobal.com
/
resources
/
views
/
admin
/
clients
/
Upload FileeE
HOME
@extends("layouts.admin_app") @section("pageTitle",' Partners Image '.$ActionType) @section('MainContent') <form method="post" action="{{route('clients.store')}}" enctype='multipart/form-data'> @csrf <input type="hidden" name="id" value="{{$clients->id ?? ''}}"> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800"> Partners Image</h1> <a href="{{route('clients.index')}}" class="d-none d-sm-inline-block btn btn-sm btn-info shadow-sm"> <i class="fas fa-arrow-left fa-sm text-white-50"></i> All Partners Image </a> </div> <div class="row"> <div class="card shadow mb-4" style="width: 100%;"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">{{$ActionType}} Partners Image</h6> </div> <button type="submit" class="mt-2 d-none d-sm-inline-block btn btn-sm btn-success shadow-sm"> <i class="fas fa-save fa-sm text-white-50"></i> {{$ActionType}} Partners Image </button> <div class="card-body row"> <div class="col-md-8 mt-3"> <label>Partners Image</label> <input type="file" onchange="var img=window.URL.createObjectURL(this.files[0]);document.getElementById('imagesrc').src = img;document.getElementById('ahref').href = img;" class="form-control" accept="image/*" name="image" placeholder="Partners Image"> </div> <div class="col-md-2 mt-3"> @if(isset($clients->image)) <a href="{{asset('image/clients/'.$clients->image)}}" id="ahref" target="_blank"><img id="imagesrc" src="{{asset('image/clients/'.$clients->image)}}" style="height:60px;width:60px;border-radius:50px"></a> @else <a href="{{asset('image/dymmy.jpg')}}" id="ahref" target="_blank"> <img id="imagesrc" src="{{asset('image/dymmy.jpg')}}" style="height:60px;width:60px;border-radius:50px"></a> @endif </div> <div class="col-md-2 mt-3"> <label>Image Serial number</label> <input type="text" value="{{$clients->srno ?? old('srno') ?? $lastSrNo}}" required class="form-control" name="srno" placeholder="Image Serial number"> </div> </div> </div> </div> </form> @endsection @section('MainCss') @endsection @section('MainJS') @endsection