Closed Subeen928 closed 3 weeks ago
Database\Seeders\AssignmentSeeder ......................................................... RUNNING
IFRS\Exceptions\InsufficientBalance
Client Receipt Transaction does not have sufficient balance to clear 50 of the Client Invoice
at vendor/ekmungai/eloquent-ifrs/src/Models/Assignment.php:194 190▕ throw new InvalidClearanceEntry(); 191▕ } 192▕ 193▕ if (round($this->transaction->balance, config('ifrs.forex_scale')) < round($this->amount, config('ifrs.forex_scale'))) { ➜ 194▕ throw new InsufficientBalance($transactionType, $this->amount, $clearedType); 195▕ } 196▕ 197▕ if (bccomp($this->cleared->amount - $this->cleared->cleared_amount, $this->amount) == -1) { 198▕ throw new OverClearance($clearedType, $this->amount);
+7 vendor frames
8 database/seeders/AssignmentSeeder.php:34 Illuminate\Database\Eloquent\Model::__callStatic() +8 vendor frames
17 database/seeders/DatabaseSeeder.php:17 Illuminate\Database\Seeder::call()
Database\Seeders\AssignmentSeeder ......................................................... RUNNING
IFRS\Exceptions\InsufficientBalance
Client Receipt Transaction does not have sufficient balance to clear 50 of the Client Invoice
at vendor/ekmungai/eloquent-ifrs/src/Models/Assignment.php:194 190▕ throw new InvalidClearanceEntry(); 191▕ } 192▕ 193▕ if (round($this->transaction->balance, config('ifrs.forex_scale')) < round($this->amount, config('ifrs.forex_scale'))) { ➜ 194▕ throw new InsufficientBalance($transactionType, $this->amount, $clearedType); 195▕ } 196▕ 197▕ if (bccomp($this->cleared->amount - $this->cleared->cleared_amount, $this->amount) == -1) { 198▕ throw new OverClearance($clearedType, $this->amount);
8 database/seeders/AssignmentSeeder.php:34 Illuminate\Database\Eloquent\Model::__callStatic() +8 vendor frames
17 database/seeders/DatabaseSeeder.php:17 Illuminate\Database\Seeder::call()