Excellent work but pricey.
What dependencies are there for this module to work?
Does it need an API licence from WhatsApp - any free usage limits from WhatsApp?
A list of settings would be useful.
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Posts by apmuthu
Excellent work but pricey.
What dependencies are there for this module to work?
Does it need an API licence from WhatsApp - any free usage limits from WhatsApp?
A list of settings would be useful.
Post Release Fixes attached.
Github Master (Bleeding Edge) Download Link
These fixes can be applied to (overwrite) the release version to be fully functional.
The final script (gettext_order.sh) to extract the strings from the empty.po file and re-organise it in an alphabetical order is here:
#!/usr/bin/bash
cat empty.po | while read -r line
do
if [[ ${line:0:1} == "#" ]]
then
echo "${line}" | sed -e 's/\\/\//g' # 116.94 secs
# echo "${line}" | tr '\\' '/' # 118.61 secs
else
echo -E "${line}"
fi
done > empty_ordered.po;I have added in the "fuzzy" line and the "Report Bugs to" line as well and ordered all the strings and attached it herein, Compared with yours too and strings are all okay except for some #references out of order.
The timer script for efficiency checks is:
#!/bin/sh
# This should be at the top of the script to get the start time of the script
start=$(date +%s.%N)
# Here you can place your function
sh $1
# bc not there in Git Bash
# duration=$(echo "$(date +%s.%N) - $start" | bc)
fin=$(date +%s.%N)
duration=$(awk '{print $1-$2}' <<<"${fin} ${start}")
execution_time=`printf "%.2f seconds" $duration`
echo "Script $1 Execution Time: $execution_time"
# Usage: timer gettext_order.shPlace the timer script in C:\Program Files\Git\mingw64\bin folder for windows users as there is no "bc" command in the minimal bash in Windows Git and an "awk" workaround is substituted and used for testing any script.
The following when run on your file may suffice to change backslashes to forward slashes:
cat empty_bs.po | tr '\\' '\/' > empty_fs.poFurther "if" can be introduced to restrict it to lines that start with "#".
The backslashes for file paths should all be forward slashes. Will check the rest in a while.
Attached is the empty.po for the core. Please verify where "\\n" string is there as they are from js files which have not been parsed but taken from the pot files.
Tools like Online bash to windows batch file convertor will not address missing linux binaries.
Install Git for windows (47 MB) and TortoiseGit (20 MB).
Right Click on any folder (like frontac24 repo folder) and choose "Git Bash Here" and you can execute linux commands natively. Some missing linux binaries for windows like wget can be obtained from the likes of here. The wget.exe file needs to be placed at C:\Program Files\Git\mingw64\bin.
Inadvertently, the install/lang strings got injected into the core empty.po file during the release of 2.4.13.
1 string is changed between the older core and the current one:
" overdue Purchase Invoices"
is now
" unpaid Purchase Invoices"
It is better to re-create the core empty.po file and make for a re-release.
There is really no new strings in the empty.po other than the changed string listed above.
Here is a quick 'n dirty script to extract all gettext strings in FA:
find /var/www/frontac/ \( -name "*.php" -o -name "*.inc" \) ! -path "./tmp/*" | \
sort -bdf | \
xargs xgettext \
--default-domain=myapp \
--output=myapp.pot \
--language=PHP \
--indent \
--no-wrap \
--sort-output \
--omit-headerThe --omit-header can be omitted along with the last back slash for comparison purposes like in WinMerge.
As these strings will be sorted, it will be easy to compare *.po files between versions. Comments can be stripped with:
grep ^'^#' sourcefile.txt > output.txtRelease date 2022-09-18 as of GitHub commit https://github.com/FrontAccountingERP/FA/commit/51f9e62242aa3697a2d9350d6d1040d5c647c7a5
SF Download Link
MD5: 1ac64b93254febdb59eaab6cac02b1eb
Filesize: 1,879,784 bytes
The attachment contains the language fix from this commit but will need this commit too.
Can this make it to the core or a flag for it company wide?
Please correct lang/new_language_template/LC_MESSAGES/empty.po:
"Content-Type: text/plain; charset=ISO_8859-1\n"to
"Content-Type: text/plain; charset=ISO-8859-1\n"The underscore is not valid in charset.
The core FA code has certainly been modified as otherwise you will not be able redirect standard transactions to your table intervention. When FA code changes affecting these tables scripts, you will have to keep on updating your code changes into these scripts as well. Rather than have such a nightmare, it is best to elegantly make it a part of FA by just having a transaction status field and change the code once and for all in the core.
@joe: Can this make it to the core? Credit Note and Debit Note can be posted to both Customer and Supplier.
The Approval system is good and needs to be incorporated into the core. How many tables does it entail? One for Approval Roles and another for the approval / rejection status of the transactions unless the core FA tables are altered to add in the new status fields.
In the current version 2.4.12+ as on date it is line 92 onwards as:
add_crm_person($_POST['supp_ref'], $_POST['contact'], '', $_POST['address'],
$_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'],
$_POST['rep_lang'], '');Here ther are only 10 arguments including 2 blank defaults.
stk_code is a valid field
It is a field in the 0_sales_order_details table
Post Release Fixes attached.
Github Master (Bleeding Edge) Download Link
These fixes can be applied to (overwrite) the release version to be fully functional.
This version now has new translatable strings:
Enter direct &Invoice
"Debits" instead of "Charges" only in reporting/rep101.php:137 and reporting/includes/doctext.inc:247 but remains "Charges" in reporting/rep201.php:115
"Invoice %s from %s" instead of "Invoice %d from %s"
Invoiced so far:
New PaymentsRelease date 2022-07-13 as of GitHub commit https://github.com/FrontAccountingERP/FA/commit/293c278b37ca3c9ed5180181513cfa732fcbef1b
SF Download Link
MD5: 1f8bfd823f64fe03a7875cfb2fd2f88b
Filesize: 1,876,122 bytes
Existing links work okay and direct linking too works.
@joe?
If some items of the same asset type are scrapped or sold, the bulk entry would fail.
First get FA 2.3.22 (2014-09-29) to FA 2.3.26 (2017-05-23) the last in that series.
Then get it to FA 2.4 or directly to FA 2.4.11+.
All difference files are in the Announcements sticky topics.
Attached is the v2.3.22 to 2.3.26 changed files.
FA 2.4.11
FrontAccounting forum → Posts by apmuthu
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.