Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -201,6 +201,7 @@ def generate_dpr(files):
|
|
| 201 |
|
| 202 |
# Update the DPR record with the PDF URL
|
| 203 |
if pdf_url:
|
|
|
|
| 204 |
sf.Daily_Progress_Reports__c.update(dpr_record_id, {
|
| 205 |
'PDF_URL__c': pdf_url # Storing the PDF URL correctly
|
| 206 |
})
|
|
|
|
| 201 |
|
| 202 |
# Update the DPR record with the PDF URL
|
| 203 |
if pdf_url:
|
| 204 |
+
# Store the generated URL in the 'PDF_URL__c' field of the Daily Progress Report record
|
| 205 |
sf.Daily_Progress_Reports__c.update(dpr_record_id, {
|
| 206 |
'PDF_URL__c': pdf_url # Storing the PDF URL correctly
|
| 207 |
})
|