fixed import fogli di lavoro and disegni tecnici
This commit is contained in:
@@ -27,6 +27,7 @@ try {
|
||||
file_type,
|
||||
description,
|
||||
sort_order,
|
||||
is_disegno,
|
||||
created_at,
|
||||
updated_at
|
||||
FROM matrice_attachments
|
||||
@@ -50,6 +51,7 @@ try {
|
||||
'file_type' => $row['file_type'],
|
||||
'description' => $row['description'] ?? '',
|
||||
'sort_order' => (int)($row['sort_order'] ?? 0),
|
||||
'is_disegno' => (int)($row['is_disegno'] ?? 0),
|
||||
'created_at' => !empty($row['created_at']) ? date('d/m/Y H:i', strtotime($row['created_at'])) : '',
|
||||
'updated_at' => !empty($row['updated_at']) ? date('d/m/Y H:i', strtotime($row['updated_at'])) : ''
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user