diff --git a/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php b/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php index a06b3706d..8ef762ae9 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php @@ -156,7 +156,10 @@ class InvoiceController extends Controller */ private function adjustArabicAndPersianContent($html) { - $arabic = new \ArPHP\I18N\Arabic(); + /* temporary require */ + require_once base_path('vendor/khaled.alshamaa/ar-php/src/arabic.php'); + + $arabic = new \ArPHP\I18N\arabic(); $p = $arabic->arIdentify($html);