Missed in previous commits.

This commit is contained in:
Patrick Fic
2021-01-15 08:37:37 -08:00
parent 5a6991dad6
commit 29689ff694
6 changed files with 32 additions and 5 deletions

View File

@@ -22204,6 +22204,27 @@
</translation>
</translations>
</concept_node>
<concept_node>
<name>edit</name>
<definition_loaded>false</definition_loaded>
<description></description>
<comment></comment>
<default_text></default_text>
<translations>
<translation>
<language>en-US</language>
<approved>false</approved>
</translation>
<translation>
<language>es-MX</language>
<approved>false</approved>
</translation>
<translation>
<language>fr-CA</language>
<approved>false</approved>
</translation>
</translations>
</concept_node>
<concept_node>
<name>electronicpayment</name>
<definition_loaded>false</definition_loaded>

View File

@@ -166,7 +166,11 @@ function BillEnterModalContainer({
return (
<Modal
title={t("payments.labels.new")}
title={
!context || (context && !context.id)
? t("payments.labels.new")
: t("payments.labels.edit")
}
visible={visible}
okText={t("general.actions.save")}
onOk={() => form.submit()}

View File

@@ -1363,6 +1363,7 @@
"labels": {
"balance": "Balance",
"customer": "Customer",
"edit": "Edit Payment",
"electronicpayment": "Use Electronic Payment Processing?",
"insurance": "Insurance",
"new": "New Payment",

View File

@@ -1363,6 +1363,7 @@
"labels": {
"balance": "",
"customer": "",
"edit": "",
"electronicpayment": "",
"insurance": "",
"new": "",

View File

@@ -1363,6 +1363,7 @@
"labels": {
"balance": "",
"customer": "",
"edit": "",
"electronicpayment": "",
"insurance": "",
"new": "",

View File

@@ -1,11 +1,10 @@
import axios from "axios";
import gql from "graphql-tag";
import jsreport from "jsreport-browser-client-dist";
import client from "../utils/GraphQLClient";
import axios from "axios";
import { auth } from "../firebase/firebase.utils";
import { TemplateList } from "./TemplateConstants";
import { store } from "../redux/store";
import { setEmailOptions } from "../redux/email/email.actions";
import { store } from "../redux/store";
import client from "../utils/GraphQLClient";
const server = process.env.REACT_APP_REPORTS_SERVER_URL;
jsreport.serverUrl = server;