mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-24 03:20:33 +02:00
More registrar currency related fixes
This commit is contained in:
parent
4d953d5ac1
commit
f6752b0d26
2 changed files with 30 additions and 29 deletions
|
@ -146,7 +146,6 @@ class FinancialsController extends Controller
|
|||
$data = $request->getParsedBody();
|
||||
$db = $this->container->get('db');
|
||||
$registrar_id = $data['registrar'];
|
||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||
$amount = $data['amount'];
|
||||
$description = empty($data['description']) ? "funds added to account balance" : $data['description'];
|
||||
|
||||
|
@ -207,11 +206,9 @@ class FinancialsController extends Controller
|
|||
|
||||
$db = $this->container->get('db');
|
||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||
$currency = $_SESSION['_currency'];
|
||||
|
||||
|
||||
return view($response,'admin/financials/deposit.twig', [
|
||||
'registrars' => $registrars,
|
||||
'currency' => $currency
|
||||
'registrars' => $registrars
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue