diff --git a/application/config/config.php b/application/config/config.php index 723f72c..8220b34 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -82,7 +82,10 @@ | than english. | */ -$config['language'] = 'english'; +// SAS - Because language has a en folder instead of english :( We may rename it or do like this. +// $config['language'] = 'english'; +$config['language'] = 'en'; +// EAS - Because language has a en folder instead of english :( We may rename it or do like this. /* |-------------------------------------------------------------------------- diff --git a/application/views/sales/register.php b/application/views/sales/register.php index 6444afa..1bdd194 100644 --- a/application/views/sales/register.php +++ b/application/views/sales/register.php @@ -41,7 +41,12 @@ } ?> -'item','id'=>'item','size'=>'40'));?> +'item','id'=>'item','size'=>'40')); +echo form_input(array('name'=>'item','id'=>'item','size'=>'40','tabindex'=>'1')); +// EAS +?>
", @@ -75,8 +80,18 @@ } else { + // SAS + //$tabindex = count($cart) + 1; + $tabindex = 2; + // EAS foreach(array_reverse($cart, true) as $line=>$item) { + // SAS + if($tabindex == 3) + { + $tabindex = 5; + } + // EAS $cur_item_info = $this->Item->get_info($item['item_id']); echo form_open("sales/edit_item/$line"); ?> @@ -110,8 +125,11 @@ echo form_hidden('quantity',$item['quantity']); } else - { - echo form_input(array('name'=>'quantity','value'=>$item['quantity'],'size'=>'2')); + { + // SAS + //echo form_input(array('name'=>'quantity','value'=>$item['quantity'],'size'=>'2')); + echo form_input(array('name'=>'quantity','value'=>$item['quantity'],'size'=>'2','tabindex'=>$tabindex)); + // EAS } ?> @@ -172,6 +190,9 @@