Server IP : 108.163.255.210 / Your IP : 18.119.28.173 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/AlpaiAWS/resources/views/admin_old/ |
Upload File : |
@extends('admin.layout') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> {{ trans('labels.EditCustomers') }} <small>{{ trans('labels.EditCustomers') }}...</small> </h1> <ol class="breadcrumb"> <li><a href="{{ URL::to('admin/dashboard/this_month')}}"><i class="fa fa-dashboard"></i> {{ trans('labels.breadcrumb_dashboard') }}</a></li> <li><a href="{{ URL::to('admin/customers')}}"><i class="fa fa-users"></i> {{ trans('labels.ListingAllCustomers') }}</a></li> <li class="active">{{ trans('labels.EditCustomers') }}</li> </ol> </section> <!-- Main content --> <section class="content"> <!-- Info boxes --> <!-- /.row --> <div class="row"> <div class="col-md-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">{{ trans('labels.EditCustomers') }} </h3> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-xs-12"> <div class="box box-info"> <!--<div class="box-header with-border"> <h3 class="box-title">Edit category</h3> </div>--> <!-- /.box-header --> <br> @if(count($data['message'])>0) <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> {{ $data['message'] }} </div> @endif @if(count($data['errorMessage'])>0) <div class="alert alert-danger" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> {{ $data['errorMessage'] }} </div> @endif <!-- form start --> <div class="box-body"> {!! Form::open(array('url' =>'admin/updatecustomers', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('customers_id', $data['customers'][0]->customers_id, array('class'=>'form-control', 'id'=>'customers_id')) !!} <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.FirstName') }} </label> <div class="col-sm-10 col-md-4"> {!! Form::text('customers_firstname', $data['customers'][0]->customers_firstname, array('class'=>'form-control field-validate', 'id'=>'customers_firstname')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.FirstNameText') }}</span> <span class="help-block hidden">{{ trans('labels.textRequiredFieldMessage') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.LastName') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::text('customers_lastname', $data['customers'][0]->customers_lastname, array('class'=>'form-control field-validate', 'id'=>'customers_lastname')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.lastNameText') }}</span> <span class="help-block hidden">{{ trans('labels.textRequiredFieldMessage') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Gender') }}</label> <div class="col-sm-10 col-md-4"> <label> <input @if($data['customers'][0]->customers_gender == 1 or empty($data['customers'][0]->customers_gender)) checked @endif type="radio" name="customers_gender" value="1" class="minimal" checked > {{ trans('labels.Male') }} </label><br> <label> <input @if( !empty($data['customers'][0]->customers_gender) and $data['customers'][0]->customers_gender == 0) checked @endif type="radio" name="customers_gender" value="0" class="minimal"> {{ trans('labels.Female') }} </label> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Picture') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::file('newImage', array('id'=>'newImage')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.PictureText') }}</span> <br> {!! Form::hidden('oldImage', $data['customers'][0]->customers_picture, array('id'=>'oldImage')) !!} @if(!empty($data['customers'][0]->customers_picture)) <img width="150px" src="{{asset('').'/'.$data['customers'][0]->customers_picture}}" class="img-circle"> @else <img width="150px" src="{{asset('').'/resources/assets/images/default_images/user.png' }}" class="img-circle"> @endif </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.DOB') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::text('customers_dob', $data['customers'][0]->customers_dob, array('class'=>'form-control datepicker' , 'id'=>'customers_dob')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.DOBText') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Telephone') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::text('customers_telephone', $data['customers'][0]->customers_telephone, array('class'=>'form-control', 'id'=>'customers_telephone')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.TelephoneText') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Fax') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::text('customers_fax', $data['customers'][0]->customers_fax, array('class'=>'form-control', 'id'=>'customers_fax')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.FaxText') }}</span> </div> </div> <hr> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.EmailAddress') }} </label> <div class="col-sm-10 col-md-4"> {!! Form::hidden('old_email_address', $data['customers'][0]->email, array('class'=>'form-control', 'id'=>'old_email_address')) !!} {!! Form::email('email', $data['customers'][0]->email, array('class'=>'form-control email-validate', 'id'=>'email')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.EmailText') }}</span> <span class="help-block hidden"> {{ trans('labels.EmailError') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.changePassword') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::checkbox('changePassword', 'yes', null, ['class' => '', 'id'=>'change-passowrd']) !!} </div> </div> <!-- <div class="form-group password_content">--> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Password') }}</label> <div class="col-sm-10 col-md-4"> {!! Form::password('password', array('class'=>'form-control ', 'id'=>'password')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.PasswordText') }}</span> <span class="help-block hidden">{{ trans('labels.textRequiredFieldMessage') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">{{ trans('labels.Status') }} </label> <div class="col-sm-10 col-md-4"> <select class="form-control" name="isActive"> <option @if($data['customers'][0]->isActive == 1) selected @endif value="1">{{ trans('labels.Active') }}</option> <option @if($data['customers'][0]->isActive == 0) selected @endif value="0">{{ trans('labels.Inactive') }}</option> </select><span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.StatusText') }}</span> </div> </div> <div class="form-group"> <label for="name" class="col-sm-2 col-md-3 control-label">GST Number (if applicable)</label> <div class="col-sm-10 col-md-4"> {!! Form::text('gst_number', $data['customers'][0]->gst_number, array('class'=>'form-control', 'id'=>'gst_number')) !!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">GST Number (if applicable)</span> </div> </div> <!-- /.box-body --> <div class="box-footer text-center"> <button type="submit" class="btn btn-primary">{{ trans('labels.Update') }} </button> <a href="{{ URL::to('admin/customers')}}" type="button" class="btn btn-default">{{ trans('labels.back') }}</a> </div> <!-- /.box-footer --> {!! Form::close() !!} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- /.col --> </div> <!-- /.row --> <!-- Main row --> <!-- /.row --> </section> <!-- /.content --> </div> @endsection