invoice processing webapp -- 2
Budget: ₹12,500 – ₹37,500 INR
[2:45 pm, 24/10/2021] Imminent Labs: Create a new pivot table language_font SQL / Laravel database migrations
for "Japanese", use "GenshinGothic - Japanese"
for "Chinese - Taiwan", use "NotoSansCJK"
If you navigate to Settings -> Invoice Design -> General Settings, you will see "Body Font" "Header Font" ....
Go to Profiles -> Clients -> Edit any Client, there's a field for "Language". Also notice if you click "Send by Upload", a hidden field will unhide
Under "Language", create two dropdowns "Body Font" "Header Font", hidden by default. You need to add header_font_id and body_font_id in [clients] table in mySQL. HTML and simple javascript
If $client->language != $account->language { unhide }; Laravel Blade & Javascript
When the User selects a language, it will default to whatever is in the language_font pivot table (but the User can still manually change it) Laravel Controller to first load the SQL table into Laravel Blade, and then Javascript
When the User navigates to any Receivables -> Invoices -> Edit, it will load the $client->header_font_id || $account->header_font_id, vice versa (i.e. priority is load $client->header_font_id, if it's null, then load $account->header_font_id I think this is only Laravel Controller & Blade .. maybe with some simple Javascript.
[2:45 pm, 24/10/2021] Imminent Labs: There's one bug on the projects dropdownlist please fix:
In the Controller, please load all active projects PLUS $invoice->project. Because, if you are viewing an old invoice whose $project is no longer active.....
for "Japanese", use "GenshinGothic - Japanese"
for "Chinese - Taiwan", use "NotoSansCJK"
If you navigate to Settings -> Invoice Design -> General Settings, you will see "Body Font" "Header Font" ....
Go to Profiles -> Clients -> Edit any Client, there's a field for "Language". Also notice if you click "Send by Upload", a hidden field will unhide
Under "Language", create two dropdowns "Body Font" "Header Font", hidden by default. You need to add header_font_id and body_font_id in [clients] table in mySQL. HTML and simple javascript
If $client->language != $account->language { unhide }; Laravel Blade & Javascript
When the User selects a language, it will default to whatever is in the language_font pivot table (but the User can still manually change it) Laravel Controller to first load the SQL table into Laravel Blade, and then Javascript
When the User navigates to any Receivables -> Invoices -> Edit, it will load the $client->header_font_id || $account->header_font_id, vice versa (i.e. priority is load $client->header_font_id, if it's null, then load $account->header_font_id I think this is only Laravel Controller & Blade .. maybe with some simple Javascript.
[2:45 pm, 24/10/2021] Imminent Labs: There's one bug on the projects dropdownlist please fix:
In the Controller, please load all active projects PLUS $invoice->project. Because, if you are viewing an old invoice whose $project is no longer active.....
Related categories:
Knockout.js