diff --git a/htdocs/core/modules/printing/printgcp.modules.php b/htdocs/core/modules/printing/printgcp.modules.php index f0e12f33610..cc8699a4e84 100644 --- a/htdocs/core/modules/printing/printgcp.modules.php +++ b/htdocs/core/modules/printing/printgcp.modules.php @@ -25,6 +25,7 @@ include_once DOL_DOCUMENT_ROOT.'/core/modules/printing/modules_printing.php'; require_once DOL_DOCUMENT_ROOT.'/includes/OAuth/bootstrap.php'; + use OAuth\Common\Storage\DoliStorage; use OAuth\Common\Consumer\Credentials; use OAuth\OAuth2\Service\Google; @@ -430,12 +431,13 @@ class printing_printgcp extends PrintingDriver //$html .= '
'.print_r($responsedata,true).''; $html .= '
| Id | "; - $html .= "Owner | "; - $html .= 'Printer | '; - $html .= 'File | '; - $html .= 'Status | '; - $html .= 'Cancel | '; + $html .= ''.$langs->trans("Id").' | '; + $html .= ''.$langs->trans("Date").' | '; + $html .= ''.$langs->trans("Owner").' | '; + $html .= ''.$langs->trans("Printer").' | '; + $html .= ''.$langs->trans("Filename").' | '; + $html .= ''.$langs->trans("Status").' | '; + $html .= ''.$langs->trans("Cancel").' | '; $html .= '
| '.$value['id'].' | '; + $dates=dol_print_date((int) substr($value['createTime'], 0, 10), 'dayhour'); + $html .= ''.$dates.' | '; $html .= ''.$value['ownerId'].' | '; $html .= ''.$value['printerName'].' | '; $html .= ''.$value['title'].' | ';