|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/leadai/leadai.co.in/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('content'); ?>
<!-- begin::main content -->
<style>
/* Styles for tabs */
.tab {
display: inline-block;
padding: 12px 26px;
cursor: pointer;
background-color: #E6EAED;
margin-right: -4px; /* Remove spacing between tabs */
}
.tab-btn{
cursor:pointer;
}
/* Style for highlighted tab */
.tab.active {
background-color: white;
}
/* Content area style */
.tab-content {
padding: 20px;
border-radius: 0 0 5px 5px;
display: none; /* Hide all content areas by default */
}
/* Show active content area */
.tab-content.active {
display: block;
}
.form-group {
margin-bottom: 1rem;
margin-bottom: 30px !important;
}
.form-group input, .form-group select{
height:42px;
padding-top:10px 25px !important;
}
.form-group label, .tab{
font-size:13px !important;
}
.company-save-btn{
position:fixed;
bottom:0;left:250px;
background-color:white;
border-top:1px solid #ccc;
}
.inner-border{
border:-2px solid #ddd !important;
}
@media only screen and (max-width: 768px) {
.company-save-btn{
position:fixed;
bottom:0;left:0px;
background-color:white;
border-top:1px solid #ccc;
}
}
</style>
<main class="main-content px-0">
<div class="container">
<!-- begin::page header -->
<div class="page-header m-0 border-0">
<h3> <?php echo e(__('message.distributor')); ?> <?php echo e(__('message.profile')); ?></h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo e(asset('dashboard')); ?>"><?php echo e(__('message.dashboard')); ?></a></li>
<li class="breadcrumb-item" aria-current="page"><a href="<?php echo e(asset('sales')); ?>"><?php echo e(__('message.sales')); ?></a></li>
<li class="breadcrumb-item active" aria-current="page"><?php echo e(__('message.add')); ?></li>
</ol>
</nav>
</div>
<!-- end::page header -->
<div class="row">
<div class="col-md-12">
<div class="card border-0 shadow-sm mb-5">
<div class="card-body p-4">
<div class="row">
<!-- Profile Image and Basic Details -->
<div class="col-md-6 text-center mb-4">
<div class="profile-img mb-3">
<?php if($distributor->profile_pics): ?>
<img src="<?php echo e($distributor->profile_pics); ?>" width="150" height="150" class="rounded-circle border shadow">
<?php else: ?>
<img src="<?php echo e(asset('public/avtar.png')); ?>" width="150" height="150" class="rounded-circle border shadow">
<?php endif; ?>
</div>
<div class="profile-info">
<h5 class="btn btn-outline-primary w-100"><?php echo e(__('message.name')); ?>: <?php echo e($distributor->name); ?></h5>
<h5 class="btn btn-outline-primary w-100"><?php echo e(__('message.email')); ?>: <?php echo e($distributor->email); ?></h5>
<h5 class="btn btn-outline-primary w-100"><?php echo e(__('message.phone')); ?>: <?php echo e($distributor->mobile); ?></h5>
</div>
</div>
<!-- Tabs for Additional Details -->
<div class="col-md-6 border-left">
<div id="tabs" class="border-bottom mb-3">
<div class="nav nav-tabs">
<a class="nav-item nav-link active tab-btn" onclick="openTab('tab1')">
<strong><?php echo e(__('message.address')); ?></strong>
</a>
<a class="nav-item nav-link tab-btn" onclick="openTab('tab2')">
<strong><?php echo e(__('message.manager')); ?></strong>
</a>
<a class="nav-item nav-link tab-btn" onclick="openTab('tab3')">
<strong><?php echo e(__('message.other')); ?></strong>
</a>
</div>
</div>
<!-- Tab Content -->
<div class="tab-content p-3 active" id="tab1">
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.address')); ?> : </strong> <?php echo e($distributor->address); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.city')); ?> : </strong> <?php echo e($distributor->city); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.state')); ?> : </strong> <?php echo e($distributor->state); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.country')); ?> : </strong> <?php echo e($distributor->country); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.zip')); ?> : </strong> <?php echo e($distributor->pincode); ?></p>
</div>
<div class="tab-content p-3" id="tab2">
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.name')); ?> : </strong> <?php echo e($distributor->manager_name); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.phone')); ?> : </strong> <?php echo e($distributor->manager_mobile); ?></p>
<p class="mb-2 text-capitalize"><strong><?php echo e(__('message.email')); ?> : </strong> <?php echo e($distributor->manager_email); ?></p>
</div>
<div class="tab-content p-3" id="tab3">
<p class="mb-2 text-capitalize">
<strong><?php echo e(__('message.notes')); ?> : </strong> <?php echo e($distributor->notes); ?>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
<!-- begin::select2 -->
<link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/select2/css/select2.min.css')); ?>" type="text/css">
<script src="<?php echo e(asset('public/admin/vendors/select2/js/select2.min.js')); ?>"></script>
<!-- end::select2 -->
<script>
$(document).ready(function() {
$('#js-example-basic-roles').select2({});
});
function openTab(tabId) {
// Get all tabs and hide them
var tabs = document.querySelectorAll('.tab-content');
tabs.forEach(function(tab) {
tab.classList.remove('active');
});
// Remove active class from all tabs
var tabButtons = document.querySelectorAll('.tab-btn');
tabButtons.forEach(function(button) {
button.classList.remove('active');
});
// Show the clicked tab and add active class
document.getElementById(tabId).classList.add('active');
document.querySelector('[onclick="openTab(\'' + tabId + '\')"]').classList.add('active');
}
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\licence_panel\resources\views/sales/distributor.blade.php ENDPATH**/ ?>