TEST_new menu payouts

This commit is contained in:
venba-Inspriron-3558 2025-11-14 12:43:13 +05:30
parent 20e6cabf3a
commit 3fcb6bdee5
4 changed files with 21 additions and 0 deletions

View File

@ -478,6 +478,7 @@ $routes->group("rfq", ["filter" => "authMVC"], function ($routes) {
$routes->get("driveListFiles", "GoogleDriveController::listFiles");
$routes->post('dmsSearch', 'PolicyTransactionController::dmsSearch', ['filter' => 'authMVC']);
$routes->get('dmsSearch', 'PolicyTransactionController::dmsSearch', ['filter' => 'authMVC']);
$routes->get('payouts', 'PolicyTransactionController::payouts', ['filter' => 'authMVC']);
$routes->get('downloadGdriveFile', 'GoogleDriveController::downloadGdriveFile', ['filter' => 'authMVC']);
$routes->get('cli/sendZeptoMail', 'MasterController::testZeptoSMTP');

View File

@ -2811,6 +2811,20 @@
$this->loadLayout('dms_search', $data);
}
public function payouts()
{
$data['tab_name'] = 'Payouts';
$data['page_name'] = 'Payouts';
$data['payouts'] = [];
$data['agents'] = [ 1 => "Agent 1", 2 => "Agent 2", 3 => "Agent 3", 4 => "Agent 4", 5 => "Agent 5", 6 => "Agent 6", 7 => "Agent 7", 8 => "Agent 8"];
$data['brokers'] = [];
if ($this->request->is('post')) {}
if ($this->request->is('get')) {}
$this->loadLayout('policy_transaction_payouts', $data);
}
//---------------------------------------------------------------------------------------------------
public function getCoShareStatementDetails($pt_id)

View File

@ -2017,6 +2017,12 @@
</a>
</li>
<?php } ?>
<li>
<a href="<?= base_url('/payouts') ?>">
<i class="ri-book-open-line"></i>
<span> Payouts</span>
</a>
</li>
<?php } ?>
</ul>

View File