Andrew Wallo 6 months ago
parent
commit
4d7eaf6775
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/Models/Accounting/BudgetAllocation.php

+ 2
- 2
app/Models/Accounting/BudgetAllocation.php View File

2
 
2
 
3
 namespace App\Models\Accounting;
3
 namespace App\Models\Accounting;
4
 
4
 
5
-use App\Casts\MoneyCast;
5
+use App\Casts\DocumentMoneyCast;
6
 use App\Concerns\CompanyOwned;
6
 use App\Concerns\CompanyOwned;
7
 use App\Enums\Accounting\BudgetIntervalType;
7
 use App\Enums\Accounting\BudgetIntervalType;
8
 use Illuminate\Database\Eloquent\Factories\HasFactory;
8
 use Illuminate\Database\Eloquent\Factories\HasFactory;
28
         'start_date' => 'date',
28
         'start_date' => 'date',
29
         'end_date' => 'date',
29
         'end_date' => 'date',
30
         'interval_type' => BudgetIntervalType::class,
30
         'interval_type' => BudgetIntervalType::class,
31
-        'amount' => MoneyCast::class,
31
+        'amount' => DocumentMoneyCast::class,
32
     ];
32
     ];
33
 
33
 
34
     public function budgetItem(): BelongsTo
34
     public function budgetItem(): BelongsTo

Loading…
Cancel
Save