added transaction number interface
This commit is contained in:
12
app/Interfaces/Utility/TransactionNumber.php
Normal file
12
app/Interfaces/Utility/TransactionNumber.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces\Utility;
|
||||
|
||||
use App\Models\Common\Contact;
|
||||
|
||||
interface TransactionNumber
|
||||
{
|
||||
public function getNextNumber(string $type, string $suffix, ?Contact $contact): string;
|
||||
|
||||
public function increaseNextNumber(string $type, string $suffix, ?Contact $contact): void;
|
||||
}
|
Reference in New Issue
Block a user