Missing translation in PoS > Print Ticket page

This commit is contained in:
Marcos García 2012-08-17 23:50:22 +02:00
parent 952204564f
commit 46ab7c597a
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@
include_once(DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php');
$langs->load("main");
$langs->load('cashdesk');
header("Content-type: text/html; charset=".$conf->file->character_set_client);
$facid=GETPOST('facid','int');
@ -27,7 +28,7 @@ $object->fetch($facid);
?>
<html>
<head>
<title>Print ticket</title>
<title><?php echo $langs->trans('PrintTicket') ?></title>
<style type="text/css">
body {

View File

@ -31,7 +31,7 @@ $langs->load("main");
largeur = 600;
hauteur = 500
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();