fixed #279
This commit is contained in:
		| @@ -51,7 +51,7 @@ | ||||
|                                 <button type="button" onclick="$(this).tooltip('destroy'); $('#item-row-{{ $item_row }}').remove(); totalItem();" data-toggle="tooltip" title="{{ trans('general.delete') }}" class="btn btn-xs btn-danger"><i class="fa fa-trash"></i></button> | ||||
|                             </td> | ||||
|                             <td> | ||||
|                                 <input class="form-control typeahead" required="required" placeholder="{{ trans('general.form.enter', ['field' => trans_choice('invoices.item_name', 1)]) }}" name="item[{{ $item_row }}][name]" type="text" id="item-name-{{ $item_row }}"> | ||||
|                                 <input class="form-control typeahead" required="required" placeholder="{{ trans('general.form.enter', ['field' => trans_choice('invoices.item_name', 1)]) }}" name="item[{{ $item_row }}][name]" type="text" id="item-name-{{ $item_row }}" autocomplete="off"> | ||||
|                                 <input name="item[{{ $item_row }}][item_id]" type="hidden" id="item-id-{{ $item_row }}"> | ||||
|                             </td> | ||||
|                             <td> | ||||
| @@ -124,7 +124,7 @@ | ||||
|             html += '      <button type="button" onclick="$(this).tooltip(\'destroy\'); $(\'#item-row-' + item_row + '\').remove(); totalItem();" data-toggle="tooltip" title="{{ trans('general.delete') }}" class="btn btn-xs btn-danger"><i class="fa fa-trash"></i></button>'; | ||||
|             html += '  </td>'; | ||||
|             html += '  <td>'; | ||||
|             html += '      <input class="form-control typeahead" required="required" placeholder="{{ trans('general.form.enter', ['field' => trans_choice('invoices.item_name', 1)]) }}" name="item[' + item_row + '][name]" type="text" id="item-name-' + item_row + '">'; | ||||
|             html += '      <input class="form-control typeahead" required="required" placeholder="{{ trans('general.form.enter', ['field' => trans_choice('invoices.item_name', 1)]) }}" name="item[' + item_row + '][name]" type="text" id="item-name-' + item_row + '" autocomplete="off">'; | ||||
|             html += '      <input name="item[' + item_row + '][item_id]" type="hidden" id="item-id-' + item_row + '">'; | ||||
|             html += '  </td>'; | ||||
|             html += '  <td>'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user