diff --git a/application/libraries/Receiving_lib.php b/application/libraries/Receiving_lib.php
index a1267ccf8..1c6ae362c 100644
--- a/application/libraries/Receiving_lib.php
+++ b/application/libraries/Receiving_lib.php
@@ -354,7 +354,7 @@ class Receiving_lib
$total = 0;
foreach($this->get_cart() as $item)
{
- $total =+ $this->get_item_total($item['quantity'], $item['price'], $item['discount']);
+ $total += $this->get_item_total($item['quantity'], $item['price'], $item['discount']);
}
return $total;
diff --git a/application/views/sales/edit.php b/application/views/sales/edit.php
deleted file mode 100644
index 5c67ec68e..000000000
--- a/application/views/sales/edit.php
+++ /dev/null
@@ -1,125 +0,0 @@
-load->view("partial/header"); ?>
-
-
lang->line('sales_edit_sale'); ?> POS
-
- 'sales_edit_form')); ?>
-
-
-
- lang->line('sales_receipt').':', 'customer'); ?>
-
- '_blank'));?>
-
-
-
-
- lang->line('sales_date').':', 'date'); ?>
-
- 'date','value'=>date('m/d/Y', strtotime($sale_info['sale_time'])), 'id'=>'date'));?>
-
-
-
-
- lang->line('sales_customer').':', 'customer'); ?>
-
- 'customer_id', 'value' => $selected_customer, 'id' => 'customer_id'));?>
-
-
-
-
- lang->line('sales_employee').':', 'employee'); ?>
-
-
-
-
-
-
- lang->line('sales_comment').':', 'comment'); ?>
-
- 'comment','value'=>$sale_info['comment'],'rows'=>'4','cols'=>'23', 'id'=>'comment'));?>
-
-
-
- 'submit',
- 'id'=>'submit',
- 'value'=>$this->lang->line('common_submit'),
- 'class'=>'submit_button float_left')
- );
- ?>
-
- 'sales_delete_form')); ?>
- 'submit',
- 'id'=>'submit',
- 'value'=>$this->lang->line('sales_delete_entire_sale'),
- 'class'=>'delete_button float_right')
- );
- ?>
-
-
-
-