mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 03:04:34 -04:00
Working on google maps implementation
This commit is contained in:
parent
545a8df362
commit
f345986157
@ -136,7 +136,10 @@ class ClientController extends Controller
|
|||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'client' => $client,
|
'client' => $client,
|
||||||
'company' => auth()->user()->company()
|
'company' => auth()->user()->company(),
|
||||||
|
'meta' => [
|
||||||
|
'google_maps_api_key' => config('ninja.google_maps_api_key')
|
||||||
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
return view('client.show', $data);
|
return view('client.show', $data);
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"vuetable-2": "^1.7.5"
|
"vuetable-2": "^1.7.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@pderas/vue2-geocoder": "^1.0.2",
|
||||||
"@types/lodash": "^4.14.118",
|
"@types/lodash": "^4.14.118",
|
||||||
"@types/node": "^10.12.10",
|
"@types/node": "^10.12.10",
|
||||||
"axios-progress-bar": "^1.2.0",
|
"axios-progress-bar": "^1.2.0",
|
||||||
|
3
public/js/client_show.js
vendored
3
public/js/client_show.js
vendored
@ -3631,8 +3631,9 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
//import Vue from "vue"
|
||||||
exports.default = {
|
exports.default = {
|
||||||
props: ['client', 'company']
|
props: ['client', 'company', 'meta'],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
3
public/js/client_show.min.js
vendored
3
public/js/client_show.min.js
vendored
@ -3631,8 +3631,9 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
//import Vue from "vue"
|
||||||
exports.default = {
|
exports.default = {
|
||||||
props: ['client', 'company']
|
props: ['client', 'company', 'meta'],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -111,8 +111,13 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
|
import Geocoder from "@pderas/vue2-geocoder";
|
||||||
|
//import Vue from "vue"
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['client', 'company']
|
props: ['client', 'company', 'meta'],
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
||||||
|
|
||||||
<client-show :client="{{ $client }}" :company="{{ $company }}"></client-show>
|
<client-show :client="{{ $client }}" :company="{{ $company }}" :meta="{{ $meta }}"></client-show>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user