Merge branch 'dev' into staging
This commit is contained in:
commit
3e253385d0
@ -51,7 +51,7 @@ class ToastElementClass extends React.Component<IPropsClass, IState> {
|
||||
data-clickable={toast.redirectUrl ? true : false}
|
||||
onClick={this.handleClick}>
|
||||
{toast.time !== 0 && <div className={classes["loadbar"]} style={style} />}
|
||||
<div className={classes["header"]} onClick={this.onClose}>
|
||||
<div className={classes["header"]}>
|
||||
<div className={classes["text-icon_row"]}>
|
||||
{toast.icon && toast.icon}
|
||||
<div className={classes["text-container"]}>
|
||||
|
@ -122,7 +122,7 @@ export default function DocumentTables(props: IProps) {
|
||||
label={tradDocumentStatus[document.document_status].toUpperCase()}
|
||||
/>
|
||||
),
|
||||
created_at: document.created_at,
|
||||
created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_",
|
||||
actions: (
|
||||
<Link
|
||||
href={Module.getInstance()
|
||||
@ -153,7 +153,7 @@ export default function DocumentTables(props: IProps) {
|
||||
label={tradDocumentStatus[document.document_status].toUpperCase()}
|
||||
/>
|
||||
),
|
||||
created_at: document.created_at,
|
||||
created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_",
|
||||
actions: (
|
||||
<div className={classes["actions"]}>
|
||||
<Link
|
||||
@ -187,7 +187,7 @@ export default function DocumentTables(props: IProps) {
|
||||
label={tradDocumentStatus[document.document_status].toUpperCase()}
|
||||
/>
|
||||
),
|
||||
created_at: document.created_at,
|
||||
created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_",
|
||||
actions: "",
|
||||
};
|
||||
})
|
||||
|
@ -66,6 +66,9 @@ export default function FolderInformation(props: IProps) {
|
||||
include: {
|
||||
contact: true,
|
||||
documents: {
|
||||
where: {
|
||||
folder_uid: folderUid,
|
||||
},
|
||||
include: {
|
||||
folder: true,
|
||||
document_type: true,
|
||||
|
@ -84,14 +84,14 @@ class UpdateClientClass extends BasePage<IPropsClass, IState> {
|
||||
<div className={classes["content"]}>
|
||||
<TextField
|
||||
name="first_name"
|
||||
placeholder="Nom"
|
||||
placeholder="Prénom"
|
||||
onChange={this.onChangeNameInput}
|
||||
defaultValue={this.state.customer?.contact?.first_name}
|
||||
validationError={this.state.validationError.find((error) => error.property === "first_name")}
|
||||
/>
|
||||
<TextField
|
||||
name="last_name"
|
||||
placeholder="Prénom"
|
||||
placeholder="Nom"
|
||||
onChange={this.onChangeFirstNameInput}
|
||||
defaultValue={this.state.customer?.contact?.last_name}
|
||||
validationError={this.state.validationError.find((error) => error.property === "last_name")}
|
||||
|
Loading…
x
Reference in New Issue
Block a user