Missing translation in PoS > Print Ticket page
This commit is contained in:
parent
952204564f
commit
46ab7c597a
@ -18,6 +18,7 @@
|
|||||||
include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
|
include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
|
||||||
|
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
|
$langs->load('cashdesk');
|
||||||
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
||||||
|
|
||||||
$facid=GETPOST('facid','int');
|
$facid=GETPOST('facid','int');
|
||||||
@ -27,7 +28,7 @@ $object->fetch($facid);
|
|||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Print ticket</title>
|
<title><?php echo $langs->trans('PrintTicket') ?></title>
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
|
|||||||
@ -31,7 +31,7 @@ $langs->load("main");
|
|||||||
largeur = 600;
|
largeur = 600;
|
||||||
hauteur = 500
|
hauteur = 500
|
||||||
opt = 'width='+largeur+', height='+hauteur+', left='+(screen.width - largeur)/2+', top='+(screen.height-hauteur)/2+'';
|
opt = 'width='+largeur+', height='+hauteur+', left='+(screen.width - largeur)/2+', top='+(screen.height-hauteur)/2+'';
|
||||||
window.open('validation_ticket.php?facid=<?php echo $_GET['facid']; ?>', 'Print ticket', opt);
|
window.open('validation_ticket.php?facid=<?php echo $_GET['facid']; ?>', '<?php echo $langs->trans('PrintTicket') ?>', opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
popupTicket();
|
popupTicket();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user