У меня есть таблица из ejs, которая содержит статические данные в таблице с флажком.Мне нужно сохранить проверенную строку из таблицы в локально или дБ.
Поскольку я пытаюсь отправить электронную почту с сохраненными данными из этой строки таблицы.Было бы полезно, если бы я мог сохранить и отправить электронное письмо в выбранную строку из таблицы
list.ejs
<div class="container1">
<div class="row">
<div class="col-12">
<table class="table table-bordered">
<thead>
<tr>
<th scope="col" style="text-align:center;">Box No.</th>
<th scope="col" style="text-align:center;">Produkt Name</th>
<th scope="col" style="text-align:center;">Gew.</th>
<th scope="col" style="text-align:center;">Stk.</th>
<th scope="col" style="text-align:center;">Kunde</th>
<th scope="col" style="text-align:center;">Preis</th>
<th scope="col" style="text-align:center;">Spedition</th>
<th scope="col" style="text-align:center;">Verteillungs-Tag</th>
<th scope="col" style="text-align:center;">Abfahrt</th>
<th scope="col" style="text-align:center;">Res</th>
<th scope="col" style="text-align:center;">Bestell-Nr.</th>
<th scope="col" style="text-align:center;">Bkz</th>
<th scope="col" style="text-align:center;">Notiz</th>
<th scope="col" style="text-align:center;">Teilen</th>
<th scope="col" style="text-align:center;">Liefersch</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="customCheck1"
checked>
<label class="custom-control-label" for="customCheck1">1</label>
</div>
</td>
<td>Tuna Fish</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-number" id="Gew" readonly>
</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-stk1" id="stk1">
</td>
<td class="select">
<select>
<option value=""></option>
<option value="volvo">YinSeaFood</option>
<option value="saab">YinSeaFood1</option>
<option value="mercedes">YinSeaFood2</option>
<option value="audi">YinSeaFood3</option>
</select>
</td>
<td>
<div class="form-row">
<div class="input-group">
<span class="input-group-addon">€</span>
<input type="number" value="" min="0" step="0.01" data-number-to-fixed="2" data-number-stepfactor="100"
class="form-control currency" id="c2" />
</div>
</td>
<td class="select">
<select>
<option value=""></option>
<option value="volvo">DHL</option>
<option value="saab">HERMES</option>
<option value="mercedes">UPS</option>
<option value="audi">Fedex</option>
</select>
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="textbox" name="ProductNo" readonly>
</td>
<td>
<input type="textbox" name="ProductNo" >
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
<td>
<div>
<input type="radio" name="my-input" id="yes" class="responsive">
<label for="yes">Gew.</label>
<input type="radio" name="my-input" id="no" class="responsive">
<label for="no">Stk.</label>
</div>
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
</tr>
<tr>
<td>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="customCheck2"
checked>
<label class="custom-control-label2" for="customCheck2">2</label>
</div>
</td>
<td>Adlerfischköpfe</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-number1" id="Gew1" readonly>
</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-stk2" id="stk2">
</td>
<TD class="select1">
<select>
<option value=""></option>
<option value="volvo">YinSeaFood</option>
<option value="saab">YinSeaFood1</option>
<option value="mercedes">YinSeaFood2</option>
<option value="audi">YinSeaFood3</option>
</select>
</TD>
<td>
<div class="form-row1">
<div class="input-group">
<span class="input-group-addon">€</span>
<input type="number" value="" min="0" step="0.01" data-number-to-fixed="2" data-number-stepfactor="100"
class="form-control currency" id="c2" />
</div>
</td>
<td class="select">
<select>
<option value=""></option>
<option value="volvo">DHL</option>
<option value="saab">HERMES</option>
<option value="mercedes">UPS</option>
<option value="audi">Fedex</option>
</select>
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="textbox" name="ProductNo" readonly>
</td>
<td>
<input type="textbox" name="ProductNo" >
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
<td>
<div>
<input type="radio" name="my-input" id="yes" class="responsive">
<label for="yes">Gew.</label>
<input type="radio" name="my-input" id="no" class="responsive">
<label for="no">Stk.</label>
</div>
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
</tr>
<tr>
<td>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="customCheck3"
checked>
<label class="custom-control-label3" for="customCheck3">3</label>
</div>
</td>
<td>Austern Premium Superieur</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-number2" id="Gew2" readonly>
</td>
<td>
<div class="custom-control custom-checkbox">
<input type="number" class="custom-stk3" id="stk3">
</td>
<TD class="select">
<select>
<option value=""></option>
<option value="volvo">YinSeaFood</option>
<option value="saab">YinSeaFood1</option>
<option value="mercedes">YinSeaFood2</option>
<option value="audi">YinSeaFood3</option>
</select>
</TD>
<td>
<div class="form-row">
<div class="input-group">
<span class="input-group-addon">€</span>
<input type="number" value="" min="0" step="0.01" data-number-to-fixed="2" data-number-stepfactor="100"
class="form-control currency" id="c2" />
</div>
</td>
<td class="select">
<select>
<option value=""></option>
<option value="volvo">DHL</option>
<option value="saab">HERMES</option>
<option value="mercedes">UPS</option>
<option value="audi">Fedex</option>
</select>
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="date" name="submit date">
</td>
<td>
<input type="textbox" name="ProductNo" readonly>
</td>
<td>
<input type="textbox" name="ProductNo">
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
<td>
<div>
<input type="radio" name="my-input" id="yes" class="responsive">
<label for="yes">Gew.</label>
<input type="radio" name="my-input" id="no" class="responsive">
<label for="no">Stk.</label>
</div>
</td>
<td>
<div>
<textarea name="comments" id="comments">
Hey... say something!
</textarea>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>