Hi Paul,
Please review your Item tax.. this will only happen to me if the Item is NOT tax exempt. This is in Items -> Items Tax Types.
Then we can discuss further.
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 rafat
Hi Paul,
Please review your Item tax.. this will only happen to me if the Item is NOT tax exempt. This is in Items -> Items Tax Types.
Then we can discuss further.
Hi,
It seems your .mo is in the wrong directory as I described in my post #4 above. Give it a try.. it worked for me after a long suffering. You also might need to restart wampserver in order to see the changes immediately.
Hi,
Very strange indeed. How can a system be picky with rendering the same data type differently. Arabic is working OK .. The last line shows that perfectly. The only thing that comes to mind is the data above the last item is imported from another system with different character set encoding (Arabic in FA is UTF-8). The last line is definitely entered from the local system.
By the way you are using Dejavu font and not alarabiya.
Inform us if you find the reason.
@barbarian,
It helps if you include a screen shot of the report ..if you can.
Since its working with Linux but not Windows.. are you migrating this data into Windows or entering it directly in Windows?
Please make sure that in /reporting/includes/class.pdf.inc has
case "ar_EG" : $fontname "aealarabiya"; break;
Ok then .. I think your translation file is in the wrong directory... This is tricky with wamp or xampp..luckily this thread fixed the problem as it is to do with some php bug only on windows environment.
https://frontaccounting.com/punbb/viewtopic.php?id=7113
basically you need to copy your .mo and .po files to your language locale language folder. and not ar_EG folder.
@barbarian
When you say it failed..do you get any pdf output or the Arabic text is not showing? Is there a Latin text showing?
Tested the fix and its OK.
Hi,
I use Invoice Editable as above and I find it very helpful and it works every time.. Very nice module.
I only do Direct Invoices. (ONLY).
For other types of invoices I do not think its possible to use this module..
To me its excellent as I run a services only company with no Inventory/ Delivery notes ..etc..
Void and create always works for all kinds of transactions.
You might need to look at this as well:
Hi,
Regarding the Auto Increase of Document References in Setup -> Company Setup
This function is always active even if one chooses to disable it. Auto increase is always on.
I think there is a bug somewhere. (FA2.4.7)
And this is rep108
Hi,
Tested reports and seem all OK for me at least.. here are some samples of rep107 and rep108
@poncho1234
Thanks for your guidance.. much appreciated. What worked for me is to comment the else statement at the end..I dont know what is it for. The rest I did not touch ..even the C in header2.inc stayed the same .. Changing it to L, R also works as expected.
if (!$this->rtl)
{
if ($align == 'right')
$align = 'R';
elseif ($align == 'left')
$align = 'L';
elseif ($align == 'center')
$align = 'C';
elseif ($align == 'justify')
$align = 'J';
}
// else
// $align = 'R';
I dont know if this is a permanent solution or it might affect other things.. I tested with different reports and looks fine to me.
Statement Report has a minor issue . I will look into it.
@poncho1234
Give me some time to experiment this... as we are touching tcpdf core .. which (supposedly) is very stable and is working OK for all.
I will come back to you soon.
Thx.
The Arabic file.
Please look at the footer as well..
Thanks guys,
@boxygen I tried with the new reporting folder but no luck. Same issue.
@poncho1234 I am attaching the same report (rep107) both when English is selected and when Arabic is selected. I highlighted the difference in yellow.
Not all the report in LTR is left aligned. The middle part (Between the Company Name and email ..etc and the Bill of Material Details) Is what is called Auxiliary document information is centered as described in header2.inc
// Auxiliary document information
$col = $this->leftMargin;
foreach($aux_info as $info_header => $info_content)
{
$this->row = $iline2 - $this->lineHeight - 1;
$this->TextWrap($col, $this->row, $width, $info_header, 'C');
$this->row = $iline3 - $this->lineHeight - 1;
$this->TextWrap($col, $this->row, $width, $info_content, 'C');
$col += $width;
}
The TextWrap(.....$info_header, 'C') means centered. If I change the 'C' to 'L' it goes left or 'R' it goes right.. only if the language is NOT RTL. If the language is English then it behaves according to the choice I made. Arabic always right aligned.
There must be a catch somewhere ..
Hi
Using Arabic as the default language and using the right translation files all seem to be working fine. One big issue I faced is with the reports( i.e sales invoice, remittance..etc). The report defaults to right justified fields and there is no way for me to find out how to put it into Center Justified (for example).
I attach an example of a sales invoice where it clearly shows the middle part (Sales Person, Due Date ..etc) as right justified while the English version is centered.
Where to look into this? It seems to me that header2 has no effect on the text placement if the chosen language is Arabic (RTL).
Appreciate your help.
Hi All,
Its working fine.
Many Thanks..
Thanks @Braath Waate
I will download and test and come back to you.
Hi Guys,
Downloaded the above file and replaced it on my 247 installation the following is observed.:
1. Customer / Supplier names are not showing.. Just numbers 1, 2 ..etc
2. QE names not showing but numbers as well.
3. Misc entries are shown properly.
4. The Funds Transfer is showing correctly.
Yes.. I believe it should be.
rafat
Thanks @poncho1234
@asad8891.. Did you manage to get it sorted? It should be fairly easy but tricky in certain ways. As ponocho1234 stated you need to review Tax Groups.. also you need to to edit/add your customers and branches to use these tax groups.. One main thing that is very important is these tax types need to belong to different tax GL Accounts (each is different)... You might need to set these accounts before you create the tax types.
Its doable.. its done before.
Come back if u need further help.
Guys,
Tested and all OK.
Yes ..very much possible take a look at:
https://frontaccounting.com/fawiki/inde … .TaxSystem
Follow the Canadian Example.
I like this wish list.. It should be very simple.. as its only an attachment to the customer / supplier record.
We always need some documents to do business with cust/sup like Trade license VAT registration ..etc..
Nice Suggestion Rafael.
FrontAccounting forum → Posts by rafat
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.