Make sure that there is enough space in the reports (forced / default landscape?) and what fields can be dispensed with and list the mockup screenshot.
5,676 03/05/2013 03:05:46 pm
Re: Report for items purchased (sorted/totaled by supplier) (32 replies, posted in Reporting)
5,677 03/05/2013 02:58:22 pm
Re: Emailing invoices- How to change the text of the email (8 replies, posted in Accounts Receivable)
Lines 100 - 117 in sales/includes/db/sales_order_db.inc
if ($loc_notification == 1 && count($st_ids) > 0)
{
require_once($path_to_root . "/reporting/includes/class.mail.inc");
$company = get_company_prefs();
$mail = new email($company['coy_name'], $company['email']);
$from = $company['coy_name'] . " <" . $company['email'] . ">";
$to = $loc['location_name'] . " <" . $loc['email'] . ">";
$subject = _("Stocks below Re-Order Level at " . $loc['location_name']);
$msg = "\n";
for ($i = 0; $i < count($st_ids); $i++)
$msg .= $st_ids[$i] . " " . $st_names[$i] . ", " . _("Re-Order Level") . ": " . $st_reorder[$i] . ", " . _("Below") . ": " . $st_num[$i] . "\n";
$msg .= "\n" . _("Please reorder") . "\n\n";
$msg .= $company['coy_name'];
$mail->to($to);
$mail->subject($subject);
$mail->text($msg);
$ret = $mail->send();
}The file class.mail.inc is included in only 2 files, one above and the other is reporting/includes/pdf_report.inc where mail sending code is present.
Implementation of the phpmailer class would require the patching of the said class.mail.inc file.
5,678 03/05/2013 02:32:15 pm
Re: Release 2.3 - Creating Extensions and Modules. How to? (16 replies, posted in Modules Add-on's)
You can create the modules/_cache/extn-extver-extbuild/_init/config file along with a list of files in the extension and their sha1sums in modules/_cache/extn-extver-extbuild/_init/files and see if it shows up.
Alternatively create your own repo and place your packages in it and change the repo access details in version.php. It hasn't been made easy to get all the files from the repo as the scripts were not deemed ready for distribution yet.
Contact me offline if you want it.
Possibly a GitHub repo may be the answer for manual extension installs. The Linux ar command is used to create the pkg and possibly sign them and hence the ~data file is not extractable in Windows using 7-Zip.
5,679 03/05/2013 02:22:14 pm
Re: purchasing/includes/po_class.inc patch (2 replies, posted in Report Bugs here)
Thanks Joe. HG Changeset 3195 does the job.
5,680 03/04/2013 12:39:15 pm
Re: GST to TIN (6 replies, posted in FA Modifications)
Updated the Wiki with a HOWTO for manual install and language extension creation. An offline PDF version is also available.
Attached the en_IN package for inclusion in the FA Repo.
Edit the lang/installed_languages.inc file and include the following array element into the $installed_languages array (take care of the array index assumed 1 here):
1 =>
array (
'code' => 'en_IN',
'name' => 'English (IN)',
'package' => 'en_IN',
'encoding' => 'iso-8859-1',
'version' => '2.3.15-1',
'path' => 'lang/en_IN',
),5,681 03/02/2013 06:41:59 pm
Re: Inactive checkbox (2 replies, posted in Report Bugs here)
Which version of FA are you using?
Lines 881 to 896 in ui_input.inc are:
function inactive_control_cell($id, $value, $table, $key)
{
global $Ajax;
$name = "Inactive". $id;
$value = $value ? 1:0;
if (check_value('show_inactive')) {
if (isset($_POST['LInact'][$id]) && (get_post('_Inactive'.$id.'_update') ||
get_post('Update')) && (check_value('Inactive'.$id) != $value)) {
update_record_status($id, !$value, $table, $key);
}
echo '<td align="center">'. checkbox(null, $name, $value, true, '', "align='center'")
. hidden("LInact[$id]", $value, false) . '</td>';
}
}Your inverted ternery code - $value = $value ? 0:1; - will toggle the status.
5,682 03/02/2013 06:30:22 pm
Re: GST to TIN (6 replies, posted in FA Modifications)
Hi Joe,
Encapsulate the attached en_IN file for use with FA as a pkg.
5,683 03/02/2013 06:12:08 pm
Re: Help system locally (2 replies, posted in Setup)
Put in too much into the wiki over time - too much to copy over.....- too familiar with the wiki - please take care of it!
5,684 03/02/2013 06:02:27 pm
Re: When purchasing an item, how to choose the cheapest supplier? (9 replies, posted in Accounts Payable)
It would be nicer to view all prices in same units of qty and currency for comparison and listed sorted in ascending prices!
5,685 03/02/2013 06:00:49 pm
Re: Auto-generate "Reminder" if order below reorder-level (4 replies, posted in Wish List)
where is the reminder function?
5,686 03/02/2013 05:58:24 pm
Re: Sale Pricing and Purchase Pricing Tabs Wont Open (9 replies, posted in Items and Inventory)
Try it in a different browser - Firefox?
Also see that you have Java scripting enabled.
Java runtimes would also be nice.
5,687 03/02/2013 05:55:09 pm
Re: Prices on Delivery Notes? (15 replies, posted in Setup)
Actually a signature switch can be set in all reports for
signature,
standard disclaimer or
no signature (default for backwards compatibility)
The signature can be set in the config file incurrent FA v2.3.x in a generic manner and in a per company instance as a new field in the company table in FA v2.4
5,688 03/02/2013 05:41:05 pm
Re: INVOICE to TAX INVOICE (4 replies, posted in Setup)
@pierre whilst your change works, it is the non standard way and will get overwritten on updates. The preferred way is to make a copy of the lang/new_language_template/LC_MESSAGES/empty.po file and edit lines 10438-10439 to be:
msgid "INVOICE"
msgstr "TAX INVOICE"and compile it with gettext as lang/en_SA/LC_MESSAGES/en_SA.mo and make an entry in the list of available languages and see that the locale is properly implemented. Refer Wiki.
5,690 03/02/2013 05:01:26 pm
Re: How we can have (or define ) customers and suppliers with same unique (9 replies, posted in FA Modifications)
GL Account Groups have a parent child relationship that can be used optionally.
Read the Wiki on Account Classes and Groups and Parent Ledgers.
5,691 03/02/2013 04:57:38 pm
Topic: purchasing/includes/po_class.inc patch (2 replies, posted in Report Bugs here)
Line 58 in purchasing/includes/po_class.inc :
if ($qty != 0 && isset($qty))should be:
if ( isset($qty) && $qty != 0)5,692 03/02/2013 03:30:16 pm
Re: DIRECT GRN - Blank field for Qty and Price before tax (1 replies, posted in Items and Inventory)
The file purchasing/includes/po_class.inc has the class definition for the class po_line_details which refers to the default Quantity / Price - check the defaults in the table schema as well.
5,693 02/16/2013 07:04:42 am
Re: Release 2.3.15 (3 replies, posted in Announcements)
There are no DB changes or config variables additions / changes in v2.3.15 vis-a-vis v2.3.14.
Just copy over the attached diff files into the FA folder.
Language strings will need to be translated from the empty.po as usual.
OpenVZ Template for FA v2.3.15 on Debian Squeeze is available at GNUAcademy.
5,694 02/16/2013 01:59:48 am
Re: New Functionalities suggestions (24 replies, posted in FA Modifications)
FA core is okay as it is. Make extensions for peculiar (country specific / rare legal) needs. The programming paradigm - KISS - is well protected here and that is why most non-programmers have found it easy to fathom the code. Extending the COA is inadvisable - porting from other accounting systems / fa versions, inadvertant switch flag type fields, backward compatibility issues pervade.
[RANT]:
Non Accountants and Non Programmers must be able manage FA without having to bother with Government - businesses need simple acounting info / capability for day to day operations. Most countries have begun to question the need for Statutory Audit - Self Audit is being encouraged. In the aftermath of Enron / Arthur Anderson / and other major corporations / audit firms / banks fudging accounts, Governments too will soon have automatic billing systems in their countries from which their VATs will be auto-calculated instead of summary submissions each month/quarter/year! There seems to be little trusted data on countries printing / creating money and providing huge windfalls to select individuals of choice - insurance, subsidies, rights.
{NICE]
If you do not sell in currencies (debt denominator) issued by governments - you do not need to pay tax! Corollary - no one pays any taxes for using FA! No one's paying Joe/Janusz any monies for coding and preserving the FA source! Yet FA users will look after you (tax free) when you visit their countries.....People like them are the real assets worth preserving.
5,695 02/16/2013 01:37:50 am
Re: Embed Videos in Relevant tab pages? (5 replies, posted in FA Modifications)
If you wish to replace the regular help URL with your site which has the relevant urls, you might be able to use the help hotkey popup functionality of FA.
5,696 02/16/2013 01:11:43 am
Re: Editable Tax Field (9 replies, posted in FA Modifications)
Make one like Shipping at the bottom of the invoice or make a service item called, say, VAT Ajustments, with no tax and use it as a free form value.
Caveat: Must remember to do it each time one is needed.
5,697 02/15/2013 05:57:36 pm
Re: Formating Front Account Invoice (7 replies, posted in Accounts Receivable)
Lines 64-69 in sales/view/view_invoice.php (although it is in the same lines of view_dispatch.php as well) can be commented out to remove the Charge Branch box.
start_table(TABLESTYLE, "width=100%");
$th = array(_("Charge Branch"));
table_header($th);
label_row(null, $branch["br_name"] . "<br>" . nl2br($branch["br_address"]), "nowrap");
end_table();Other elements can be found there likewise.
5,698 02/15/2013 05:41:47 pm
Re: Hot keys system for FrontAccounting (5 replies, posted in FA Modifications)
Wow! That's a nice way of managing translation of labels and moving into form fields at the same time! For this to work, we need to have an "id" for each label and it's correspondig form field to be suffixed with a common number something like:
<p>
<span id="formfieldlabel_001"><?php echo _"(&Name"); ?> :</span>
<input type="text" size="40" id="forminputfield_001" name="name_field">
</p>Only then can a generic js included in each form be able to generically do the trick.
5,699 02/15/2013 08:45:36 am
Re: Customer Picture image in sales page (6 replies, posted in FA Modifications)
You will need to show it in a popup window when an invoice is being created or editied or viewed. So code a separate php page to show it and pass it a variables like debtor_id, company#, logged_in_user, logged_in_token, etc. - check if the said user is logged in and the token matches and then pop up the window.
5,700 02/15/2013 08:37:37 am
Re: Setting up customized short cut keys in FA Pages (6 replies, posted in FA Modifications)
In empty.po as well for relevent mods to be ported to other languages if used.
