⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
resources
/
views
/
pdf
/
Edit File: assets.blade.php
@extends('pdf') @section('content-area') <h3>@lang('All assets list')</h3> <div class="table-responsive"> <table class="table-listing table table-bordered table-striped table-sm"> <thead class="thead-light"> <tr> <th>@lang('#')</th> <th>@lang('Asset Name')</th> <th>@lang('Asset Type')</th> <th>@lang('Asset Cost')</th> <th>@lang('Current Value')</th> <th>@lang('Created At')</th> <th>@lang('Status')</th> </tr> </thead> <tbody> @foreach ($assets as $key => $asset) <tr> <td> {{ ++$key }} </td> <td>{{ $asset['name'] }}</td> <td>{{ $asset['asset_type']['name'] }}</td> <td> @if(config('config.currencyPosition') == 'left') {{ config('config.currencySymbol') . $asset['asset_cost'] }} @else {{ $asset['asset_cost'] . config('config.currencySymbol') }} @endif </td> <td> @if(config('config.currencyPosition') == 'left') {{ config('config.currencySymbol') . $asset['calculated_value'] }} @else {{ $asset['calculated_value'] . config('config.currencySymbol') }} @endif </td> <td>{{ \Carbon\Carbon::parse($asset['date'])->format('d-M-Y') }}</td> <td> @if ($asset['status']) @lang('Active') @else @lang('Inactive') @endif </td> </tr> @endforeach </tbody> </table> </div> @endsection
Simpan