mirror of
https://github.com/Karaka-Management/oms-LoanManagement.git
synced 2026-01-11 00:58:42 +00:00
code fixes
This commit is contained in:
parent
53ac925bfa
commit
14e85dc1ca
|
|
@ -16,10 +16,10 @@ namespace Modules\LoanManagement\Admin;
|
|||
|
||||
use phpOMS\Application\ApplicationAbstract;
|
||||
use phpOMS\Config\SettingsInterface;
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
use phpOMS\Module\ModuleInfo;
|
||||
use phpOMS\Message\Http\HttpRequest;
|
||||
use phpOMS\Message\Http\HttpResponse;
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
use phpOMS\Module\ModuleInfo;
|
||||
|
||||
/**
|
||||
* Installer class.
|
||||
|
|
|
|||
|
|
@ -218,4 +218,4 @@ final class ApiController extends Controller
|
|||
|
||||
return $costL11n;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,11 +97,16 @@ class Loan
|
|||
|
||||
public bool $hasManualTaxAmounts = false;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->loanProvider = new NullSupplier();
|
||||
$this->start = new \DateTime();
|
||||
$this->end = $this->start->modify('+1 year');
|
||||
$this->payout = $this->start;
|
||||
$this->start = new \DateTime();
|
||||
$this->end = $this->start->modify('+1 year');
|
||||
$this->payout = $this->start;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['LoanManagement' => [
|
||||
'Loans' => 'Loans'
|
||||
'Loans' => 'Loans',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,4 +13,3 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
echo $this->data['nav']->render();
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user