mirror of
https://github.com/wearepixel/laravel-quickbooks.git
synced 2026-11-14 22:11:50 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ config('app.name') }} - QuickBooks Authorization</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="page-heading">QuickBooks Authorization</h1>
|
||||
|
||||
{{-- TODO: Text here to explain what is going on --}}
|
||||
{{-- TODO: Work on UI --}}
|
||||
<a href="{!! $authorization_uri !!}">Connect to QuickBooks</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ config('app.name') }} - QuickBooks Deauthorization</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="page-heading">QuickBooks Deauthorization</h1>
|
||||
|
||||
{{-- TODO: Text here to explain what is going on --}}
|
||||
{{-- TODO: Work on UI --}}
|
||||
<a href="{{ route('quickbooks.disconnect') }}"
|
||||
onclick="event.preventDefault();document.getElementById('disconnect-form').submit();">
|
||||
Disconnect from {{ $company->CompanyName }}
|
||||
</a>
|
||||
|
||||
<form id="disconnect-form"
|
||||
action="{{ route('quickbooks.disconnect') }}"
|
||||
method="POST"
|
||||
style="display: none;"
|
||||
>
|
||||
{{ method_field('DELETE') }}
|
||||
{{ csrf_field() }}
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user