Skip to content

Commit 5969893

Browse files
committed
code cleanups
1 parent 652b08b commit 5969893

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

Modules/Project/Resources/views/subviews/create-project-details.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<input type="checkbox" id="isamc" name="is_amc" value="true">
8585
<label for="is_amc">AMC</label><br>
8686
<input type="checkbox" id="send_mail_to_infra" name="send_mail_to_infra" value="true">
87-
<label for="is_amc">Notify Infrasupport to Create Effortsheet</label><br>
87+
<label for="send_mail_to_infra">Notify Infrasupport to Create Effortsheet</label><br>
8888
</div>
8989
</div>
9090
<br>

Modules/Project/Services/ProjectService.php

-3
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ public function store($data)
108108
);
109109
}
110110

111-
112-
113-
114111
if(isset($data['send_mail_to_infra']) && $data['send_mail_to_infra']) {
115112
// ToDo: Make infra email fetched from ENV
116113
$emails = [

routes/web.php

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118

119119
Route::get('/nda-template', 'NDAAgreementController@index')->name('setting.agreement.nda');
120120
Route::get('/invoice-template', 'SettingController@invoiceTemplates')->name('setting.invoice');
121-
Route::get('/projects-template', 'SettingController@projectTemplates')->name('setting.projects');
122121
Route::post('/invoice-template', 'SettingController@updateInvoiceTemplates')->name('setting.invoice.update');
123122
Route::prefix('bank-details')->group(function () {
124123
Route::get('/', 'BankDetailController@index')->name('settings.bank-details');

0 commit comments

Comments
 (0)