+ ?>
-
+
-
+
+
-
-
+
>
-
+
>
-
+
>
-
+
-
-
+
+
+
-
@@ -105,49 +106,44 @@ $BIBAccounts = new BIBAccounts();
Filters
+
-
-
-
@@ -312,6 +308,14 @@ $BIBAccounts = new BIBAccounts();
function footerfunctions()
{
?>
+
-
+
-
+
+
\ No newline at end of file
diff --git a/account/application/views/inventory/purchases/create.php b/account/application/views/inventory/purchases/create.php
index 1559bed..bbdebe5 100644
--- a/account/application/views/inventory/purchases/create.php
+++ b/account/application/views/inventory/purchases/create.php
@@ -441,10 +441,8 @@
});
if(type=='amount'){
- alert("amount");
discountamount = parseFloat($("input[name='discount']").val());
discountpercent = (discountamount * 100) / subtotal;
- alert(discountamount);
$("#discountpercentage").val(discountpercent.toFixed(2));
}else{
discountpercent = parseFloat($("input[name='discountpercentage']").val());
diff --git a/account/application/views/inventory/sales/create.php b/account/application/views/inventory/sales/create.php
index 1589a94..9fa378f 100644
--- a/account/application/views/inventory/sales/create.php
+++ b/account/application/views/inventory/sales/create.php
@@ -240,10 +240,8 @@
var discountamount = 0;
var discountpercent = 0;
if(type=='amount'){
- alert("amount");
discountamount = parseFloat($("input[name='discount']").val());
discountpercent = (discountamount * 100) / subtotal;
- alert(discountamount);
$("#discountpercentage").val(discountpercent.toFixed(2));
}else{
discountpercent = parseFloat($("input[name='discountpercentage']").val());
diff --git a/account/application/views/inventory/stocks/summary.php b/account/application/views/inventory/stocks/summary.php
index b4c9564..5fcad89 100644
--- a/account/application/views/inventory/stocks/summary.php
+++ b/account/application/views/inventory/stocks/summary.php
@@ -110,76 +110,85 @@
-
+
-
-
-
+
-
+
-
-
+
>
-
+
>
-
+
>
-
+
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
-
+
+ >
+
+
+
+
+
+ >
+
+
+
+
+ >
+
-
-
-
+
-
-
+
+
-
- >
-
-
-
-
-
- >
-
-
-
-
- >
-
-
-
-
-
-
-
+
-
+