arreglado el preview de rotativa a color del admin y restaurado el multiplicador en getcosteslineasrotativa

This commit is contained in:
2025-01-24 09:05:11 +01:00
parent d219237440
commit 2e1a6222ef
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ class PreviewFormasAdmin{
$('#tab-pv-rot-color').on( "click", function() {
self.preview.setData(self.data);
self.preview.previewRotativa('rot_color', self.isCosido, self.tipoTapa.constains("dura")?1:0);
self.preview.previewRotativa('rot_color', self.isCosido, self.tipoTapa.includes("dura")?1:0);
} );