Merge pull request #2242 from sevannerse/fixed-format

format fixed on document factories
This commit is contained in:
Cüneyt Şentürk 2021-09-07 20:22:37 +03:00 committed by GitHub
commit c447f184bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ class Document extends AbstractFactory
'quantity' => '1',
'price' => $amount,
'currency' => setting('default.currency'),
]
],
];
return [
@ -299,7 +299,7 @@ class Document extends AbstractFactory
'quantity' => '1',
'price' => $amount,
'currency' => $document->currency_code,
]
],
];
$request = [