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

Loading…
Cancel
Save