Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9867b3e2b | |||
| b89d043880 | |||
| 0ecbb99423 | |||
| 61bd5589ff |
@@ -190,7 +190,7 @@ class Contract(CrudDocument):
|
||||
for p in values['parties']:
|
||||
contract_label = contract_label + f" - {p.entity.label}"
|
||||
|
||||
contract_label = contract_label + f" {values['date'].strftime('%m/%d/%Y')}"
|
||||
contract_label = contract_label + f" - {values['date'].strftime('%m/%d/%Y')}"
|
||||
return contract_label
|
||||
|
||||
return v
|
||||
|
||||
@@ -130,7 +130,7 @@ async def create_pdf(contract_id: str) -> str:
|
||||
return FileResponse(
|
||||
contract_path,
|
||||
media_type="application/pdf",
|
||||
filename=contract.name)
|
||||
filename=contract.label)
|
||||
|
||||
|
||||
def retrieve_signature_png(filepath):
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 318 B |
@@ -2,10 +2,13 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>App</title>
|
||||
<title>Cooper, Hillman & Toshi</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<meta property="og:title" content="Cooper, Hillman & Toshi">
|
||||
<meta property="og:description" content="Interface d'administration des contrats">
|
||||
<meta property="og:image" content="/assets/logo.png">
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
|
||||
@@ -36,4 +36,5 @@
|
||||
|
||||
.nav-link.active {
|
||||
border: #D2BA6F solid 2px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user