芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/app/Models/EstimateItem.php
'integer', 'total' => 'integer', 'discount' => 'float', 'quantity' => 'float', 'discount_val' => 'integer', 'tax' => 'integer', ]; } public function estimate(): BelongsTo { return $this->belongsTo(Estimate::class); } public function item(): BelongsTo { return $this->belongsTo(Item::class); } public function taxes(): HasMany { return $this->hasMany(Tax::class); } public function scopeWhereCompany($query, $company_id) { $query->where('company_id', $company_id); } }