Merge branch 'fix-factory-auto-gen-action-logs' into add_types_to_unaccepted_asset_report
This commit is contained in:
@@ -300,7 +300,10 @@ class Component extends SnipeModel
|
||||
return $this->qty - $this->numCheckedOut();
|
||||
}
|
||||
|
||||
public function totalCostSum() {
|
||||
|
||||
return $this->purchase_cost !== null ? $this->qty * $this->purchase_cost : null;
|
||||
}
|
||||
/**
|
||||
* -----------------------------------------------
|
||||
* BEGIN MUTATORS
|
||||
|
||||
Reference in New Issue
Block a user