HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/dashboard.orbiwheels.com/storage/framework/views/baddc9cd1cfb2b008dacb875fc3e92ea.php
<?php $__env->startSection('content'); ?>
    <div class="right_col" role="main">
        <div class="">
            

            <div class="clearfix"></div>

            <div class="row" style="display: block;">
                <div class="col-md-12 col-sm-12 ">
                    <div class="x_panel">
                        <div class="x_title">
                            <h2>Profile <small>Edit</small></h2>
                            <ul class="nav navbar-right panel_toolbox">
                                <li><a href="<?php echo e(route('profile')); ?>" class="closeBtn">
                                        <i class="fa fa-arrow-left"></i> Back</a></li>
                            </ul>
                            <div class="clearfix"></div>
                        </div>
                        <div class="x_content">
                            <form class="form-label-left input_mask" action="<?php echo e(route('profileUpdate', $transporter->id)); ?>"
                                method="POST" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <?php echo method_field('PUT'); ?> <!-- Adjust the method based on your Laravel routes -->
                                <span class="section">General Details</span>
                                <div class="row">
                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="company_name">Company Name *:</label>
                                        <input type="text" class="form-control" id="company_name"
                                            value="<?php echo e(old('company_name', $transporter->company_name)); ?>"
                                            placeholder="Company Name" name="company_name">
                                        <?php $__errorArgs = ['company_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="contact_person">Contact Person *:</label>
                                        <input type="text" class="form-control" id="contact_person"
                                            value="<?php echo e(old('contact_person', $transporter->contact_person)); ?>"
                                            placeholder="Contact Person" name="contact_person">
                                        <?php $__errorArgs = ['contact_person'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="first_name">First Name *:</label>
                                        <input type="text" class="form-control" id="first_name"
                                            value="<?php echo e(old('first_name', $transporter->first_name)); ?>"
                                            placeholder="First Name" name="first_name">
                                        <?php $__errorArgs = ['first_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="last_name">Last Name *:</label>
                                        <input type="text" class="form-control" id="last_name"
                                            value="<?php echo e(old('last_name', $transporter->last_name)); ?>" placeholder="Last Name"
                                            name="last_name">
                                        <?php $__errorArgs = ['last_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="email">Email *</label>
                                        <input type="email" class="form-control" id="email"
                                            value="<?php echo e(old('email', $transporter->email)); ?>" placeholder="Email"
                                            name="email" disabled>
                                        <small class="text-danger" style="font-size: 12px;">
                                            Email cannot be changed.
                                        </small>
                                        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="phone">Phone *:</label>
                                        <input type="tel" class="form-control" id="phone"
                                            value="<?php echo e(old('phone', $transporter->phone)); ?>" placeholder="Phone"
                                            name="phone">
                                        <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label class="mt-2">Profile Image *:</label>
                                        <div class="input-group">
                                            <input type="file" class="form-control" name="image" id="image">
                                            <?php if(!empty($transporter->image)): ?>
                                                <a href="<?php echo e(asset('storage/' . $transporter->image)); ?>" target="_blank"
                                                    class="btn btn-outline-primary" style="margin-left: 8px;">
                                                    <i class="fa fa-eye"></i>
                                                </a>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="address">Address *:</label>
                                        <input type="text" class="form-control" id="address" placeholder="Address"
                                            name="address" value="<?php echo e(old('address', $transporter->address)); ?>">
                                        <?php $__errorArgs = ['address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                    <div class="col-md-4 col-sm-6 form-group">
                                        <label for="transporter_type">Transporter Type *:</label>
                                        <select name="transporter_type" id="transporter_type" class="form-control">

                                            <option value="<?php echo e(App\Models\Transporter::INDIVIDUAL); ?>"
                                                <?php echo e(old('transporter_type', $transporter->transporter_type) == App\Models\Transporter::INDIVIDUAL ? 'selected' : ''); ?>>
                                                Individual
                                            </option>

                                            <option value="<?php echo e(App\Models\Transporter::TAXI_STAND); ?>"
                                                <?php echo e(old('transporter_type', $transporter->transporter_type) == App\Models\Transporter::TAXI_STAND ? 'selected' : ''); ?>>
                                                Taxi Stand
                                            </option>

                                        </select>


                                        <?php $__errorArgs = ['transporter_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <label class="text-danger"><?php echo e($message); ?></label>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>

                                

                                <div class="form-group row">
                                    <div class="col-md-9 col-sm-9 offset-md-10">
                                        <button class="btn btn-primary" type="reset">Reset</button>
                                        <button type="submit" class="btn btn-success">Update</button>
                                    </div>
                                </div>

                            </form>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layout.transporter_master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/dashboard.orbiwheels.com/resources/views/transporter/profile/edit.blade.php ENDPATH**/ ?>