mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-29 23:53:17 +02:00
Text unification with the rest
This commit is contained in:
parent
3ad6e9488c
commit
305f36914d
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class FinancialsController extends Controller
|
||||||
$registrar_id = $data['registrar'];
|
$registrar_id = $data['registrar'];
|
||||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||||
$amount = $data['amount'];
|
$amount = $data['amount'];
|
||||||
$description = empty($data['description']) ? "Funds Added to Account Balance" : $data['description'];
|
$description = empty($data['description']) ? "funds added to account balance" : $data['description'];
|
||||||
|
|
||||||
$isPositiveNumberWithTwoDecimals = filter_var($amount, FILTER_VALIDATE_FLOAT) !== false && preg_match('/^\d+(\.\d{1,2})?$/', $amount);
|
$isPositiveNumberWithTwoDecimals = filter_var($amount, FILTER_VALIDATE_FLOAT) !== false && preg_match('/^\d+(\.\d{1,2})?$/', $amount);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue