<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:16:31 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Jira</title>
    <link>https://jira.astppbilling.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.13.3</version>
        <build-number>813003</build-number>
        <build-date>14-01-2021</build-date>
    </build-info>


<item>
            <title>[ASTPPCOM-370] [FIX]Invoiceid should be in series.</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-370</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;While create manual invoice.It is start from first number instead of series.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12190">ASTPPCOM-370</key>
            <summary>[FIX]Invoiceid should be in series.</summary>
                <type id="10201" iconUrl="https://jira.astppbilling.org/secure/viewavatar?size=xsmall&amp;avatarId=10700&amp;avatarType=issuetype">New Feature</type>
                                                <status id="10001" iconUrl="https://jira.astppbilling.org/images/icons/status_generic.gif" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="samir.doshi">Samir Doshi</assignee>
                                    <reporter username="aditpl">aditpl</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Apr 2018 17:14:05 +0530</created>
                <updated>Thu, 1 Apr 2021 18:59:12 +0530</updated>
                            <resolved>Thu, 1 Apr 2021 18:59:12 +0530</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="13262" author="smrdoshi" created="Sun, 8 Apr 2018 11:40:08 +0530"  >&lt;p&gt;Hi &lt;span class=&quot;error&quot;&gt;&amp;#91;~ankitdoshi&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Remove the usage of invoice controller&apos;s get_invoice_date function as we have it implemented it in common.php. &lt;br/&gt;
Moreover, str_pad needs to be with 6 chars. &lt;/p&gt;

&lt;p&gt;Here is the reference code which we have used in invoice generation script. &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;// Get last generated invoice &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; admin or reseller
&lt;/span&gt;        $last_invoice_ID = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;common-&amp;gt;get_invoice_date(&lt;span class=&quot;code-quote&quot;&gt;&quot;invoiceid&quot;&lt;/span&gt;, &quot;&quot;, $AccountData[&lt;span class=&quot;code-quote&quot;&gt;&apos;reseller_id&apos;&lt;/span&gt;]);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;Error_flag) {
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;PrintLogger(&lt;span class=&quot;code-quote&quot;&gt;&quot;GET INVOICE DATE &quot;&lt;/span&gt; . $last_invoice_ID);
        }
        
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($last_invoice_ID &amp;amp;&amp;amp; $last_invoice_ID &amp;gt; 0) {
            $last_invoice_ID = ($last_invoice_ID + 1);
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($last_invoice_ID &amp;lt; $InvoiceConf[&lt;span class=&quot;code-quote&quot;&gt;&apos;invoice_start_from&apos;&lt;/span&gt;])
                $last_invoice_ID = $InvoiceConf[&lt;span class=&quot;code-quote&quot;&gt;&apos;invoice_start_from&apos;&lt;/span&gt;];
        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
            $last_invoice_ID = $InvoiceConf[&lt;span class=&quot;code-quote&quot;&gt;&apos;invoice_start_from&apos;&lt;/span&gt;];
        }
        $last_invoice_ID = str_pad($last_invoice_ID, 6, &lt;span class=&quot;code-quote&quot;&gt;&apos;0&apos;&lt;/span&gt;, STR_PAD_LEFT);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="13263" author="ankitdoshi" created="Tue, 10 Apr 2018 11:40:58 +0530"  >&lt;p&gt;Hello &lt;span class=&quot;error&quot;&gt;&amp;#91;~smrdoshi&amp;#93;&lt;/span&gt; ,&lt;br/&gt;
Apply modifications as suggested.Please confirm&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10703" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>370</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10006" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00ax3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>