Fix Invoice/Estimate template issues and Add Payment Receipt, Custom Payment Modes and Item units

This commit is contained in:
Jay Makwana
2020-01-05 07:22:36 +00:00
committed by Mohit Panjwani
parent 56a955befd
commit 4c33a5d88c
112 changed files with 5050 additions and 331 deletions

View File

@ -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"=>"de", "name" => "German"]
];
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'));