mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
ADD mensage imprimir ficha
This commit is contained in:
Binary file not shown.
@@ -30,8 +30,8 @@ function imprimirFichas() {
|
|||||||
td, th {
|
td, th {
|
||||||
|
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
padding-top: 35px;
|
padding-top: 30px;
|
||||||
margin: 20px;
|
margin: 0px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24px;}
|
font-size: 24px;}
|
||||||
</style>`;
|
</style>`;
|
||||||
@@ -43,7 +43,7 @@ function imprimirFichas() {
|
|||||||
// console.log(content);
|
// console.log(content);
|
||||||
content = content.replace(/<button[^>]*>(?:(?!<\/button>)[\s\S])*<\/button>/gi,'');
|
content = content.replace(/<button[^>]*>(?:(?!<\/button>)[\s\S])*<\/button>/gi,'');
|
||||||
content = content.replace(/<th[^>]*>(?:(?!<\/th>)[\s\S])*<\/th>/gi,'');
|
content = content.replace(/<th[^>]*>(?:(?!<\/th>)[\s\S])*<\/th>/gi,'');
|
||||||
content = content.replace(/<\/tr>/g,'</tr><tr><td colspan="2" style="font-size: 12px">'+dateString+'</td></tr>');
|
content = content.replace(/<\/tr>/g,'</tr><tr><td colspan="2" style="font-size: 12px">'+dateString+ '<BR>VÁLIDO SOMENTE POR ESSA NOITE'+'</td></tr>');
|
||||||
console.log(content);
|
console.log(content);
|
||||||
|
|
||||||
var printWindow = window.open('', '_blank');
|
var printWindow = window.open('', '_blank');
|
||||||
|
|||||||
Reference in New Issue
Block a user