diff --git a/application/views/ogr.php b/application/views/ogr.php index 2eb13bea..1efc52fb 100644 --- a/application/views/ogr.php +++ b/application/views/ogr.php @@ -161,18 +161,10 @@ $Value="₹"; 'Select'); - //print_r( $options); - - - - echo form_dropdown('sup', $options,set_value('sup'),'id="sup"' ,'required="true"' ,'class="form-control select2'); + //$options = array("0"=>'Select'); + //echo form_dropdown('sup', $options,set_value('sup'),'id="sup"' ,'required="true"' ,'class="form-control select2'); ?> - - - - - --> + -->
@@ -180,8 +172,8 @@ $Value="₹";
- - + +
@@ -277,17 +265,9 @@ $Value="₹";
- 'Select'); - //print_r( $options); - - - - echo form_dropdown('sup', $options,set_value('sup'),'id="sup"' ,'required="true"' ,'class="form-control select2'); - ?> - - - + 'Select'); + echo form_dropdown('sup', $options,set_value('sup'),'id="sup"' ,'required="true"' ,'class="form-control select2'); + ?>
@@ -300,9 +280,6 @@ $Value="₹"; 'Select Invoice No'); - //print_r( $options); - - echo form_dropdown('invno', $options,set_value(''),'id="invno"' ,'required="true"' ,'class="form-control select2'); ?> @@ -310,11 +287,10 @@ $Value="₹";
- - 'itemcode','value' => set_value('itemcode'),'id'=>'itemcode', 'class' => 'form-control'); - echo form_input($data); - ?> + echo form_input($data); + ?>
@@ -323,11 +299,10 @@ $Value="₹";
- - 'Description','value' => set_value('Description'),'id'=>'Description', 'class' => 'form-control'); - echo form_input($data); - ?> + echo form_input($data); + ?>
@@ -336,11 +311,10 @@ $Value="₹";
- - 'qtyorder','value' => set_value('qtyorder'),'id'=>'qtyorder', 'class' => 'form-control'); echo form_input($data); - ?> + ?>
@@ -389,9 +363,6 @@ $Value="₹"; 'Select PONO'); - //print_r( $options); - - echo form_dropdown('pono', $options,set_value('pono'),'id="pono"' ,'required="true"' ,'class="form-control select2'); ?> @@ -403,9 +374,6 @@ $Value="₹"; 'Select'); - //print_r( $options); - - echo form_dropdown('mrirno', $options,set_value('mrirno'),'id="mrirno"' ,'required="true"' ,'class="form-control select2'); ?> @@ -421,9 +389,6 @@ $Value="₹"; 'Select'); - //print_r( $options); - - echo form_dropdown('materialcode', $options,set_value('materialcode'),'id="materialcode"' ,'required="true"' ,'class="form-control select2'); ?> @@ -453,12 +418,12 @@ $Value="₹"; 'Select'); - //print_r( $options); + if(!empty($storedmaterialcode)) { foreach ($storedmaterialcode as $SID): - // echo $SID->ConfigValue; - $options[$SID->MaterialCode] = $SID->MaterialCode .'-'. $SID->MaterialName ; + + $options[$SID->MaterialCode] = $SID->MaterialCode .'-'. $SID->MaterialName ; endforeach; @@ -1371,12 +1336,4 @@ function Save(type) } } - - - - - - - - - + \ No newline at end of file diff --git a/application/views/reportcashbook.php b/application/views/reportcashbook.php index fcd177d2..282fdef5 100755 --- a/application/views/reportcashbook.php +++ b/application/views/reportcashbook.php @@ -112,7 +112,7 @@ div.dt-buttons {
- + Opening Balances : Receipt : Payment : @@ -127,7 +127,7 @@ div.dt-buttons {
- + Opening Balances : Receipt : Payment : @@ -142,7 +142,7 @@ div.dt-buttons {
- + Opening Balances : Receipt : Payment :