mirror of
https://github.com/Karaka-Management/oms-LoanManagement.git
synced 2026-02-15 08:58:40 +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\Application\ApplicationAbstract;
|
||||||
use phpOMS\Config\SettingsInterface;
|
use phpOMS\Config\SettingsInterface;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
|
||||||
use phpOMS\Module\ModuleInfo;
|
|
||||||
use phpOMS\Message\Http\HttpRequest;
|
use phpOMS\Message\Http\HttpRequest;
|
||||||
use phpOMS\Message\Http\HttpResponse;
|
use phpOMS\Message\Http\HttpResponse;
|
||||||
|
use phpOMS\Module\InstallerAbstract;
|
||||||
|
use phpOMS\Module\ModuleInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Installer class.
|
* Installer class.
|
||||||
|
|
|
||||||
|
|
@ -97,11 +97,16 @@ class Loan
|
||||||
|
|
||||||
public bool $hasManualTaxAmounts = false;
|
public bool $hasManualTaxAmounts = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->loanProvider = new NullSupplier();
|
$this->loanProvider = new NullSupplier();
|
||||||
$this->start = new \DateTime();
|
$this->start = new \DateTime();
|
||||||
$this->end = $this->start->modify('+1 year');
|
$this->end = $this->start->modify('+1 year');
|
||||||
$this->payout = $this->start;
|
$this->payout = $this->start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,5 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
return ['LoanManagement' => [
|
return ['LoanManagement' => [
|
||||||
'Loans' => 'Loans'
|
'Loans' => 'Loans',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,3 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
echo $this->data['nav']->render();
|
echo $this->data['nav']->render();
|
||||||
?>
|
|
||||||
Loading…
Reference in New Issue
Block a user