Fixed transfer and split transaction show/create pages real_type issue ( #3qec0xc )
This commit is contained in:
@ -204,6 +204,15 @@ trait Transactions
|
||||
];
|
||||
}
|
||||
|
||||
public function getRealTypeTransaction(string $type): string
|
||||
{
|
||||
$type = $this->getRealTypeOfRecurringTransaction($type);
|
||||
$type = $this->getRealTypeOfTransferTransaction($type);
|
||||
$type = $this->getRealTypeOfSplitTransaction($type);
|
||||
|
||||
return $type;
|
||||
}
|
||||
|
||||
public function getRealTypeOfRecurringTransaction(string $recurring_type): string
|
||||
{
|
||||
return Str::replace('-recurring', '', $recurring_type);
|
||||
|
Reference in New Issue
Block a user