diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 36fcf6d..edf7d1a 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -53,6 +53,11 @@ use phpOMS\Model\Message\FormValidation; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @feature Implement accounting forensics + * Benfords Law, cent value distribution analysis, amount of bookings between specific amounts, + * amount * bookings between specific amounts, etc. + * https://github.com/Karaka-Management/oms-Accounting/issues/1 */ final class ApiController extends Controller { @@ -73,6 +78,9 @@ final class ApiController extends Controller * * @return void * + * @todo Implement automatic posting of archived bill + * https://github.com/Karaka-Management/oms-Accounting/issues/10 + * * @since 1.0.0 */ public function eventBillArchive( @@ -348,6 +356,9 @@ final class ApiController extends Controller // @feature Create a way to let admins create a default account format for clients/suppliers // https://github.com/Karaka-Management/oms-Accounting/issues/8 + // @feature Add multiple accounts for a client/supplier (see BillTypeCategory) + // https://github.com/Karaka-Management/oms-Accounting/issues/9 + $request->header->account = $account; $request->setData('code', $new->number . '-1'); $request->setData('content', \rtrim($new->account->name1 . ' ' . $new->account->name2)); diff --git a/Theme/Backend/costcenter-list.tpl.php b/Theme/Backend/costcenter-list.tpl.php index 6678f4d..d0463b7 100755 --- a/Theme/Backend/costcenter-list.tpl.php +++ b/Theme/Backend/costcenter-list.tpl.php @@ -16,7 +16,7 @@ use phpOMS\Uri\UriFactory; /** * @var \phpOMS\Views\View $this - * @var \Modules\Tag\Models\CostCenter[] $costcenter + * @var \Modules\Accounting\Models\CostCenter[] $costcenter */ $costcenter = $this->data['costcenter']; diff --git a/Theme/Backend/costcenter-view.tpl.php b/Theme/Backend/costcenter-view.tpl.php index 1883a62..f7227c1 100644 --- a/Theme/Backend/costcenter-view.tpl.php +++ b/Theme/Backend/costcenter-view.tpl.php @@ -11,7 +11,10 @@ echo $this->data['nav']->render(); ?>