mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Working on google maps implementation
This commit is contained in:
parent
545a8df362
commit
f345986157
@ -136,7 +136,10 @@ class ClientController extends Controller
|
||||
|
||||
$data = [
|
||||
'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);
|
||||
|
@ -36,6 +36,7 @@
|
||||
"vuetable-2": "^1.7.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pderas/vue2-geocoder": "^1.0.2",
|
||||
"@types/lodash": "^4.14.118",
|
||||
"@types/node": "^10.12.10",
|
||||
"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";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//import Vue from "vue"
|
||||
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";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//import Vue from "vue"
|
||||
exports.default = {
|
||||
props: ['client', 'company']
|
||||
props: ['client', 'company', 'meta'],
|
||||
};
|
||||
|
||||
|
||||
|
@ -111,8 +111,13 @@
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
import Geocoder from "@pderas/vue2-geocoder";
|
||||
//import Vue from "vue"
|
||||
|
||||
|
||||
export default {
|
||||
props: ['client', 'company']
|
||||
props: ['client', 'company', 'meta'],
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="container-fluid">
|
||||
|
||||
|
||||
<client-show :client="{{ $client }}" :company="{{ $company }}"></client-show>
|
||||
<client-show :client="{{ $client }}" :company="{{ $company }}" :meta="{{ $meta }}"></client-show>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user