mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-27 04:48:26 +02:00
Refund operations now show correctly in invoices
This commit is contained in:
parent
04b4e84741
commit
53516e01cb
5 changed files with 104 additions and 54 deletions
|
@ -276,8 +276,8 @@ class DomainsController extends Controller
|
|||
|
||||
// Validate that acceptedDate is before notAfter
|
||||
try {
|
||||
$acceptedDate = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z', $data['accepted']);
|
||||
$notAfterDate = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z', $data['notafter']);
|
||||
$acceptedDate = DateTime::createFromFormat('Y-m-d\TH:i:s.v\Z', $data['accepted']);
|
||||
$notAfterDate = DateTime::createFromFormat('Y-m-d\TH:i:s.v\Z', $data['notafter']);
|
||||
|
||||
if (!$acceptedDate || !$notAfterDate) {
|
||||
$this->container->get('flash')->addMessage('error', "Invalid date format");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue