uopdates to naming convention and date handling
This commit is contained in:
@@ -98,7 +98,7 @@ let MakeRepresentation = (props) => {
|
||||
repCap = "APP";
|
||||
break;
|
||||
case t("myrepresentations:capacity-options-arr-agent"):
|
||||
repCap = "AGENT";
|
||||
repCap = "APP"; //set as App even tho agent as is from an appeallant by proxy
|
||||
break;
|
||||
case t("myrepresentations:capacity-options-arr-interested"):
|
||||
repCap = "IP";
|
||||
@@ -149,14 +149,14 @@ let MakeRepresentation = (props) => {
|
||||
"-" +
|
||||
day +
|
||||
"-" +
|
||||
repDate.getHours() +
|
||||
repDate.getMinutes() +
|
||||
repDate.getSeconds() +
|
||||
"_" +
|
||||
("0" + repDate.getHours()).slice(-2) +
|
||||
("0" + repDate.getMinutes()).slice(-2) +
|
||||
("0" + repDate.getSeconds()).slice(-2) +
|
||||
"_-_" +
|
||||
repCap +
|
||||
"_" +
|
||||
"_-_" +
|
||||
repType +
|
||||
"_" +
|
||||
"_-_" +
|
||||
values.lastname +
|
||||
"_" +
|
||||
values.firstname,
|
||||
|
||||
@@ -985,7 +985,7 @@ export const RenderFileUpload = (field) => {
|
||||
(file) =>
|
||||
new File(
|
||||
[file],
|
||||
`${field.filenamePrefix}_${file.name}`,
|
||||
`${field.filenamePrefix}_-_Attachment_-_${file.name}`,
|
||||
{
|
||||
type: file.type,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user