mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix button color and some route change
This commit is contained in:
@ -179,13 +179,13 @@ export default {
|
|||||||
isFetchingData: false,
|
isFetchingData: false,
|
||||||
formData: {
|
formData: {
|
||||||
name: null,
|
name: null,
|
||||||
logo: null,
|
logo: '',
|
||||||
email: null,
|
email: '',
|
||||||
phone: null,
|
phone: '',
|
||||||
zip: null,
|
zip: '',
|
||||||
address_street_1: null,
|
address_street_1: '',
|
||||||
address_street_2: null,
|
address_street_2: '',
|
||||||
website: null,
|
website: '',
|
||||||
country_id: null,
|
country_id: null,
|
||||||
state_id: '',
|
state_id: '',
|
||||||
city_id: ''
|
city_id: ''
|
||||||
|
|||||||
@ -276,7 +276,12 @@ export default {
|
|||||||
data: this.previewLogo
|
data: this.previewLogo
|
||||||
}))
|
}))
|
||||||
|
|
||||||
await axios.post('/api/settings/company/upload-logo', logoData)
|
await axios.post('/api/admin/onboarding/company/upload-logo', logoData, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'multipart/form-data',
|
||||||
|
'company': response.data.user.company.id
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('next')
|
this.$emit('next')
|
||||||
|
|||||||
5
resources/assets/sass/base.scss
vendored
5
resources/assets/sass/base.scss
vendored
@ -115,3 +115,8 @@ code, .code {
|
|||||||
.swal-icon--custom {
|
.swal-icon--custom {
|
||||||
height: 70px !important;
|
height: 70px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar-cropper-btn:hover {
|
||||||
|
background-color: $ls-color-primary !important;
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
|||||||
@ -101,6 +101,11 @@ Route::group(['middleware' => 'redirect-if-installed'], function () {
|
|||||||
'uses' => 'OnboardingController@adminCompany'
|
'uses' => 'OnboardingController@adminCompany'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Route::post('/admin/onboarding/company/upload-logo', [
|
||||||
|
'as' => 'upload.admin.company.logo',
|
||||||
|
'uses' => 'CompanyController@uploadCompanyLogo'
|
||||||
|
]);
|
||||||
|
|
||||||
Route::post('/admin/onboarding/settings', [
|
Route::post('/admin/onboarding/settings', [
|
||||||
'as' => 'admin.settings',
|
'as' => 'admin.settings',
|
||||||
'uses' => 'OnboardingController@companySettings'
|
'uses' => 'OnboardingController@companySettings'
|
||||||
|
|||||||
Reference in New Issue
Block a user