Fix generate pdf error
This commit is contained in:
@@ -137,7 +137,6 @@ export class SearchOptionsDevis extends HTMLButtonElement {
|
|||||||
|
|
||||||
fillOptionLine(option) {
|
fillOptionLine(option) {
|
||||||
let row = this.parentElement.parentElement.parentElement.parentElement.parentElement
|
let row = this.parentElement.parentElement.parentElement.parentElement.parentElement
|
||||||
console.log(row);
|
|
||||||
if (row) {
|
if (row) {
|
||||||
const nameInput = row.querySelector('input[name*="[product]"]');
|
const nameInput = row.querySelector('input[name*="[product]"]');
|
||||||
const priceInput = row.querySelector('input[name*="[price_ht]"]');
|
const priceInput = row.querySelector('input[name*="[price_ht]"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user