From c7e4e082aeef43d57d45b71a21da157aef0420f9 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 17 Feb 2014 20:26:24 +0200 Subject: [PATCH] bug fixes --- app/routes.php | 1 - app/views/invoices/edit.blade.php | 32 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/app/routes.php b/app/routes.php index 39e2034f85af..cf6af334d1a5 100755 --- a/app/routes.php +++ b/app/routes.php @@ -49,7 +49,6 @@ Event::listen('illuminate.query', function($query, $bindings, $time, $name) */ /* -// TODO_FIX replace with cron Route::get('/send_emails', function() { Artisan::call('ninja:send-invoices'); }); diff --git a/app/views/invoices/edit.blade.php b/app/views/invoices/edit.blade.php index dbc224c04f30..38b566828c04 100755 --- a/app/views/invoices/edit.blade.php +++ b/app/views/invoices/edit.blade.php @@ -110,41 +110,41 @@ - - - - - - - - + + + + + + + + - - - - - - - -
ItemDescriptionUnit CostQuantityTaxLine TotalItemDescriptionUnit CostQuantityTaxLine Total
+ + {{ Former::text('product_key')->useDatalist(Product::getProductKeys($products), 'key')->onkeyup('onItemChange()') ->raw()->data_bind("value: product_key, valueUpdate: 'afterkeydown'")->addClass('datalist') }} + + + + +
+