PATH:
home
/
lab2454c
/
netxzero.com
/
carbon-credit
/
app
/
Models
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Order extends Model { use HasFactory; protected $fillable = [ 'first_name', 'last_name', 'company_name', 'country', 'address', 'city', 'zipcode', 'phone', 'email', 'project_id', 'carbon_quantity', 'carbon_cost', 'transaction_cost', 'total_cost', 'receipt_url', 'payment_method', 'transaction_id', 'cloverly_transaction_id', 'card_holder_name', 'status', ]; public function customer() { return $this->belongsTo(User::class, 'customer_id'); } public function getFullnameAttribute() { return $this->first_name . ' ' . $this->last_name; } }
[+]
..
[-] Country.php
[edit]
[-] HomeBanner.php
[edit]
[-] Order.php
[edit]
[-] ProjectImage.php
[edit]
[-] Page.php
[edit]
[-] Gallery.php
[edit]
[-] Project.php
[edit]
[-] ContactDetail.php
[edit]
[-] User.php
[edit]
[-] SiteSetting.php
[edit]
[-] AdminUser.php
[edit]
[-] SocialLink.php
[edit]
[-] CartItem.php
[edit]