Fix for duplicated/wrong expenses being applied #915 (#1173)

* Fix for duplicated/wrong expenses being applied #915

* Style fixes
This commit is contained in:
Nabeel S
2021-05-06 12:42:56 -04:00
committed by GitHub
parent d2272e32a6
commit 6e6ba85080
3 changed files with 128 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ use App\Models\Traits\ReferenceTrait;
* @property string flight_type
* @property string ref_model
* @property string ref_model_id
* @property bool charge_to_user
*
* @mixin \Illuminate\Database\Eloquent\Builder
*/
@@ -36,7 +37,7 @@ class Expense extends Model
];
public static $rules = [
'active' => 'boolean',
'active' => 'bool',
'airline_id' => 'integer',
'amount' => 'float',
'multiplier' => 'bool',