- MSAnswered
Hello,
There is no such option. You will need to modify the item code to get the desired result.
Thank you
- EGAnswered
Hi @LAHCEN Below is a function you can use to achieve that, but you will need the service of a developer to implement it if you’re not one and have no knowledge on how to go about it. Check out my demo to see how I implemented it for some clients.
function figureTowords($num) { $ones = [ 0 => 'ZERO', 1 => 'ONE', 2 => 'TWO', 3 => 'THREE', 4 => 'FOUR', 5 => 'FIVE', 6 => 'SIX', 7 => 'SEVEN', 8 => 'EIGHT', 9 => 'NINE', 10 => 'TEN', 11 => 'ELEVEN', 12 => 'TWELVE', 13 => 'THIRTEEN', 14 => 'FOURTEEN', 15 => 'FIFTEEN', 16 => 'SIXTEEN', 17 => 'SEVENTEEN', 18 => 'EIGHTEEN', 19 => 'NINETEEN', '014' => 'FOURTEEN', ]; $tens = [ 0 => 'ZERO', 1 => 'TEN', 2 => 'TWENTY', 3 => 'THIRTY', 4 => 'FORTY', 5 => 'FIFTY', 6 => 'SIXTY', 7 => 'SEVENTY', 8 => 'EIGHTY', 9 => 'NINETY', ]; $hundreds = [ 'HUNDRED', 'THOUSAND', 'MILLION', 'BILLION', 'TRILLION', 'QUARDRILLION', ]; $num = number_format($num, 2, '.', ','); $num_arr = explode('.', $num); $wholenum = $num_arr[0]; $decnum = $num_arr[1]; $whole_arr = array_reverse(explode(',', $wholenum)); krsort($whole_arr, 1); $rettxt = ''; foreach ($whole_arr as $key => $i) { while (substr($i, 0, 1) == '0') { $i = substr($i, 1, 5); } if ($i < 20) { if ($i == '') { $rettxt .= ''; } else{ $rettxt .= $ones[$i]; } } elseif ($i < 100) { if (substr($i, 0, 1) != '0') { $rettxt .= $tens[substr($i, 0, 1)]; } if (substr($i, 1, 1) != '0') { $rettxt .= ' ' . $ones[substr($i, 1, 1)]; } } else { if (substr($i, 0, 1) != '0') { $rettxt .= $ones[substr($i, 0, 1)] . ' ' . $hundreds[0] . ' AND'; } if (substr($i, 1, 1) != '0') { $rettxt .= ' ' . $tens[substr($i, 1, 1)]; } if (substr($i, 1, 1) != '0' && substr($i, 2, 1) != '0') { $rettxt .= '-' . $ones[substr($i, 2, 1)]; } else{ $rettxt .= ' ' . $ones[substr($i, 2, 1)]; } } if ($key > 0) { $rettxt .= ' ' . $hundreds[$key] . ' '; } } if ($decnum > 0) { $rettxt .= ' and '; $decnum = ''.$decnum.''; $decnum = intval($decnum); if ($decnum < 20) { $rettxt .= $ones[$decnum]; } elseif ($decnum < 100) { $rettxt .= $tens[substr($decnum, 0, 1)]; $rettxt .= ' ' . $ones[substr($decnum, 1, 1)]; } $rettxt .= ' CENT ONLY'; } else{ $rettxt .= ' DOLLAR ONLY'; } return $rettxt; }
My name is @Enyinnaya Gift . I am an
Independent software developer
with in-depth knowledge of SMA system. I have done a lot of customization for many happy clients across the globe.You can check out highlights and a demo of my latest customization by Clicking HERE - Highlights
You can also reach me via any of the following mediums for a real-time discussion on your customization request:
-Skype ID:
enyinnayag
-Wechat ID:genyinnaya
-Email:[email protected]
-WhatsApp:+2348068355192
- LAnswered
Hi Saleem Pleae to find attached customizations request and give me your estimation for this job. thank you
Attachments - MSAnswered
Hello,
The modification might take 2 - 8 hours depending on the requirement of electronic stamp and signature. I will need more details about that.
Thank you
- LAnswered
Hello Ok for the Job, i want to generate customer Stamp for proposales, invoices and purchase orders when send it by mail or download a PDF file.(attached pictures)
Thank you
- MSAnswered
Hello,
I didn’t understand. If you need a customer to sign the order for your record. Most of the pdf viewers allow users to sign and add images.
If on the web page, then you can only have the option to upload stamp image and sign area like https://szimek.github.io/signature_pad/
Thank you
- LAnswered
Hi Saleem Please to find attached picture, in Perfex CRM when i add a stamp to PDF under “Signature”, if I generate an Invoice or proposalsa stamp automatically added to documents. Thank you
- LAnswered
Hello Sorry, attached you find the screenshot. Thank you
- MSAnswered
Hello,
Ss the both stamp and sign are image only. There is no need to custom to sign on device. If just need house images then the estimate is 2 - 5 hours costing $100 - $250.
Thank you
- LAnswered
Hello Ok for estimate, you can start the job. Thank you
- Login to Reply