mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	add pt_BR language option
This commit is contained in:
		| @ -19,7 +19,7 @@ use Crater\Currency; | ||||
| use Crater\CompanySetting; | ||||
|  | ||||
| class CompanyController extends Controller | ||||
| {    | ||||
| { | ||||
|     /** | ||||
|      * Retrive the Admin account. | ||||
|      * @return \Crater\User | ||||
| @ -66,9 +66,9 @@ class CompanyController extends Controller | ||||
|     } | ||||
|  | ||||
|  | ||||
|      | ||||
|  | ||||
|     /** | ||||
|      * Get Admin Account alongside the country from the addresses table and  | ||||
|      * Get Admin Account alongside the country from the addresses table and | ||||
|      * The company from companies table | ||||
|      * | ||||
|      * @return \Illuminate\Http\JsonResponse | ||||
| @ -148,6 +148,7 @@ class CompanyController extends Controller | ||||
|             ["code"=>"fr", "name" => "French"], | ||||
|             ["code"=>"es", "name" => "Spanish"], | ||||
|             ["code"=>"ar", "name" => "العربية"], | ||||
|             ["code"=>"pt_BR", "name" => "Portuguese"], | ||||
|         ]; | ||||
|  | ||||
|         return response()->json([ | ||||
| @ -191,7 +192,7 @@ class CompanyController extends Controller | ||||
|             'success' => true | ||||
|         ]); | ||||
|     } | ||||
|    | ||||
|  | ||||
|     public function getCustomizeSetting (Request $request) | ||||
|     { | ||||
|         $invoice_prefix = CompanySetting::getSetting('invoice_prefix', $request->header('company')); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user