PK

ADDRLIN : /home/questend/public_html/domains/evami.in/app/
FLL :
Current File : /home/questend/public_html/domains/evami.in/app/Abandonment.php

<?php

namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

class Abandonment extends Model
{
    /**
    * The table associated with the model.
    *
    * @var string
    */
    protected $table = 'carts';

    //use SoftDeletes;

    /**
     * The attributes that should be mutated to dates.
     *
     * @var array
     */
    //protected $dates = ['deleted_at'];

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    // protected $fillable = [
    //     'isactive','isdelete','addedby','created_at','updated_at','deleted_at','visitor'
    // ];

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    // protected $visible = [
    //     'order_contant','isactive','isdelete','addedby','created_at','updated_at','deleted_at','visitor'
    // ];

    /**
     * Scope a query to only include active users.
     *
     * @param \Illuminate\Database\Eloquent\Builder $query
     * @return \Illuminate\Database\Eloquent\Builder
     */
    public function scopeActive($query)
    {
        return $query->where('isactive', 1);
    }

    public function getCreatedAtAttribute($date)
    {
        return Carbon::createFromFormat('Y-m-d H:i:s', $date)->diffForHumans();//format('d-M-Y h:i A');
    }

    public function getUpdatedAtAttribute($date)
    {
        return Carbon::createFromFormat('Y-m-d H:i:s', $date)->diffForHumans();//format('d-M-Y h:i A');
    }
}


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home