Been trying to add the date available to the quick_stockupdate.php, I have added the date available to the sql queries, but I have run into a problem on the input box.
When I update a product qty or any update, instead of the date available staying null, it updates to 00-00-00, I don't know how to specify that if there's no change, use null. the input is pasted below
<td class="dataTableContent" align="left"><input type="text" size="20" name="stock_update[<?php echo $results['products_id'] ?>][date_available]" value="<?php echo $results['products_date_available'] ?>" onChange="<?php echo $doChange?>" /></td>