<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Bill_amount_shows_zero</id>
	<title>Bill amount shows zero - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Bill_amount_shows_zero"/>
	<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Bill_amount_shows_zero&amp;action=history"/>
	<updated>2026-05-04T04:26:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Bill_amount_shows_zero&amp;diff=138&amp;oldid=prev</id>
		<title>imported&gt;Midhungirish at 10:32, 11 September 2018</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Bill_amount_shows_zero&amp;diff=138&amp;oldid=prev"/>
		<updated>2018-09-11T10:32:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The issue occurs while editing the bill, hence the hand receipt shows cheque amount as zero.&lt;br /&gt;
&lt;br /&gt;
Find the bills and corresponding offices with bill amount as zero using the following query. Also we can specify the date.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT kwahr_core_offices.*,kwahr_bill.* FROM kwahr_bill &lt;br /&gt;
LEFT JOIN kwahr_core_offices ON kwahr_bill.bill_office_id=kwahr_core_offices.office_id&lt;br /&gt;
WHERE bill_total_amount='0.00' AND kwahr_bill.deleted=0 AND bill_deletion_status=0 AND kwahr_bill.t_created&amp;gt;='2018-07-01'&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Solution:&lt;br /&gt;
To prevent the issue give validation for the bill amount field and restore the missing amount from the db backup.&lt;br /&gt;
&lt;br /&gt;
[[Category:march]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Midhungirish</name></author>
		
	</entry>
</feed>