I defined like this but it didn't work

class hooks_masjid extends hooks {
    var $module_name = 'masjid';
    var $extn_systypes_array ;

    /*
        Install additonal menu options provided by module
    */
    function install_options($app) {
        global $path_to_root, $systypes_array;

        $extn_systypes_array = $systypes_array;
        $extn_systypes_array[ST_SALESINVOICE] = _('Donations');

@cambell are you using this module currently? Because I have faced a very strange behaviour from this module. I entered almost 10 recurring invoices of 10 different customers. ON due date I selected the Check All Check Box and Clicked the Generate Invoice BUtton to send invoices to all.

Invoices were created but each customer has received invoice ten times in email. It has simply multiplied the number of times each email with number of recurring invoices. sad

503

(18 replies, posted in Report Bugs here)

@dz are you using latest version of FA?

In FA2.4+ if you select Accounts REceiveable Code in Account Description in Journal Entry It creates another column automatically to enter CounterParty. This works same for Accounts Payable also.

Is it possible to change the $systypes_array headings from any given extension without changing the Core?

For example for ST_SALESINVOICE I want the heading to be displayed as 'Donations' so can I change it from the extension?

Regards.

505

(4 replies, posted in Reporting)

I got it

unset ($reports->ar_reports [RC_CUSTOMER][102]);

will do this.

506

(4 replies, posted in Reporting)

Through any extension we can add reports to the Report Class using

$reports->addReport() function.

My question is that is it possible to remove reports from the report class through any given extension. The idea is that sometimes all reports are not important for every one so while creating extension can we hide unwanted reports from the Report Class?

Thanks in advance.

507

(18 replies, posted in Report Bugs here)

It happens only when counterparty is used and it multiplies the number of times the counterpaties are added to voucher.

508

(18 replies, posted in Report Bugs here)

Yes latest

509

(18 replies, posted in Report Bugs here)

Hello @joe,

Again with the power of Journal Entry to record transactions for Customers and Suppliers we have one more bug. I have tested it with customer but while fixing please check it for suppliers as well.

check the image here

The Journal Entry is for 20,000 but Journal Inquiry is showing up 60,000.

The Counter Party is shown as the First Customer while here there shouldn't be any one counter party because we can't put all three.

510

(23 replies, posted in FA Modifications)

How do you get this difference file?

511

(23 replies, posted in FA Modifications)

I have updated so please update the attachment as well

512

(23 replies, posted in FA Modifications)

@apmuthu Here is the extension Invoice Editable

Regards.

513

(23 replies, posted in FA Modifications)

Sure I will

@cambell I shall mention that with the help of your extension I have learned one great thing. I have learned how to manage the whole menu structure of the FA from any single module.

Thanks a lot

515

(23 replies, posted in FA Modifications)

Thanks I have done it. I have made Invoice Editable. When an Invoice is edited and processed the old invoice is automatically voided and new invoice is created with the same Reference Number.

516

(8 replies, posted in Reporting)

Actually there is no issue in the email notification in customer_payments.php. It is showing in Green Bar.

The problem lies in my customization in customer_inquiry.php

517

(8 replies, posted in Reporting)

I have customized Customer Transaction Inquiry with a feature to Email Invoice and Customer Payments from there as shown below

Customer Transaction Inquiry

When I email Invoice the top green bar comes with notification but when I email Customer Payment it takes me to another page for the notification. Any idea why is this not showing the Green Bar for Notification. See below

Notification Page

518

(8 replies, posted in Reporting)

It worked perfectly. Only one line was modified by me as below

submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no."-".ST_CUSTPAYMENT, null, 1); 

While your file has

submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no, null, 1); 

Thanks Alot

519

(8 replies, posted in Reporting)

I can't find both these lines in customer_payments.php?

How can we make it work?

520

(8 replies, posted in Reporting)

Can we have Direct Email Customer Payment Link Just like Have Invoice Direct Email Link on the next window when Invoice is processed?

@itronics you solution works only for SalesOrder/Invoices. What for JE, Bank Payments, Bank Deposits and other such transaction forms?

In FA24, with the power of Adding Debits or Credits to Customers/Suppliers, I have identified a bug in Customer Allocations.

If a Credit (Credit Note / Payment) is Recorded for Customer through JE it appears on customer_allocation_main.php while it shall appear on customer_allocate.php

Similarly if a Debit (Invoice) is recorded for customer through JE then it appears on customer_allocate.php while it shall appear on customer_allocation_main.php page.

Please look into it. Thanks in advance.

OK I tested it again and found it working correctly. Sorry for inconvenience.

@cambell may be you are right but since I have already spent a lot of time to understand FA style of coding, I felt your code a little complex. And yes you are right I am among those students who found OOP difficult to grasp. smile

I hope my incongruous feedback won't stop you from sharing things to FA۔ sad

Hello,

I have observed that in FA242 if we void the Sales Invoice the Auto Delivery Note doesn't gets void itself. While this feature was there if FA2325

Is this a bug or it has been done deliberately?

I think the auto Delivery shall also be voided automatically so that all impact of that sales shall be voided.