관리-도구
편집 파일: Setting.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Setting extends Model { protected $fillable = [ 'currency_id', 'email', 'CompanyName', 'CompanyPhone', 'CompanyAdress','quotation_with_stock', 'logo','footer','developed_by','client_id','warehouse_id','default_language','show_language', 'is_invoice_footer','invoice_footer','app_name','favicon','page_title_suffix','point_to_amount_rate' ]; protected $casts = [ 'currency_id' => 'integer', 'client_id' => 'integer', 'quotation_with_stock' => 'integer', 'show_language' => 'integer', 'is_invoice_footer' => 'integer', 'warehouse_id' => 'integer', 'point_to_amount_rate' => 'double', ]; public function Currency() { return $this->belongsTo('App\Models\Currency'); } public function Client() { return $this->belongsTo('App\Models\Client'); } }