⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
app.softverse.com.ng
/
app
/
Exports
/
View File Name :
ProductServiceExport.php
type =='company') { $data = ProductService::where('created_by' , \Auth::user()->id)->get(); } else{ $data = ProductService::get(); } if (!empty($data)) { foreach ($data as $k => $ProductService) { $taxe = ProductService::Taxe($ProductService->tax_id); $unit = ProductService::productserviceunit($ProductService->unit_id); $category = ProductService::productcategory($ProductService->category_id); unset($ProductService->created_by,$ProductService->sku, $ProductService->updated_at, $ProductService->created_at); $data[$k]["tax_id"] = $taxe; $data[$k]["unit_id"] = $unit; $data[$k]["category_id"] = $category; } } return $data; } public function headings(): array { return [ "ID", "Name", "Sale Price", "Purchase Price", "Quantity", "Tax", "Category", "Unit", "Type", "Description", ]; } }