added transaction number interface

This commit is contained in:
Cihan Şentürk
2023-05-15 19:10:45 +03:00
parent c8a5127f65
commit 7a3aa98c56
5 changed files with 65 additions and 28 deletions

View File

@ -101,7 +101,7 @@ class Transactions extends Controller
$type = request()->get('type', 'income');
$real_type = $this->getRealTypeTransaction($type);
$number = $this->getNextTransactionNumber();
$number = $this->getNextTransactionNumber($type);
$contact_type = config('type.transaction.' . $type . '.contact_type');