|
@@ -20,7 +20,7 @@ class GoodTax extends Model
|
|
|
|
|
|
public function Tax(){
|
|
|
return $this->belongsTo(TaxCategory::class,'tax_id','id')
|
|
|
- ->bind([["in_tax_name"=>'cat_name',"in_tax_code"=>'cat_code',"in_tax_short"=>'short_name',"in_tax_merge"=>'merge_code']]);
|
|
|
+ ->bind(["in_tax_name"=>'cat_name',"in_tax_code"=>'cat_code',"in_tax_short"=>'short_name',"in_tax_merge"=>'merge_code']);
|
|
|
}
|
|
|
public function OutTax(){
|
|
|
return $this->belongsTo(TaxCategory::class,'out_tax_id','id')
|