芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/panoramawholesale.com/app/Models/Quotation.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Quotation extends Model { protected $dates = ['deleted_at']; protected $fillable = [ 'date', 'Ref', 'client_id', 'GrandTotal', 'warehouse_id', 'user_id', 'statut', 'notes', 'discount', 'shipping', 'TaxNet', 'tax_rate', 'created_at', 'updated_at', 'deleted_at', ]; protected $casts = [ 'GrandTotal' => 'double', 'user_id' => 'integer', 'client_id' => 'integer', 'warehouse_id' => 'integer', 'discount' => 'double', 'shipping' => 'double', 'TaxNet' => 'double', 'tax_rate' => 'double', ]; public function user() { return $this->belongsTo('App\Models\User'); } public function details() { return $this->hasMany('App\Models\QuotationDetail'); } public function client() { return $this->belongsTo('App\Models\Client'); } public function warehouse() { return $this->belongsTo('App\Models\Warehouse'); } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage