mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-05 03:12:34 -06:00
фикс создания фасовки
This commit is contained in:
@@ -127,6 +127,7 @@ export const InvoiceDraftPage: React.FC = () => {
|
||||
onSuccess: (data) => {
|
||||
message.success(`Накладная ${data.document_number} создана!`);
|
||||
navigate("/invoices");
|
||||
queryClient.invalidateQueries({ queryKey: ["drafts"] });
|
||||
},
|
||||
onError: () => {
|
||||
message.error("Ошибка при создании накладной");
|
||||
@@ -499,7 +500,8 @@ export const InvoiceDraftPage: React.FC = () => {
|
||||
{totalSum.toLocaleString("ru-RU", {
|
||||
style: "currency",
|
||||
currency: "RUB",
|
||||
maximumFractionDigits: 0,
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user