Initial Spark Install

This commit is contained in:
Deon George
2017-11-03 16:26:07 +11:00
commit b1a5807eb3
766 changed files with 128896 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
@if ($billable instanceof Laravel\Spark\Team)
Hi {{ $billable->name }}!
@else
Hi {{ explode(' ', $billable->name)[0] }}!
@endif
<br><br>
Thanks for your continued support. We've attached a copy of your invoice for your records.
Please let us know if you have any questions or concerns!
<br><br>
Thanks!
<br>
{{ $invoiceData['product'] }}

View File

@@ -0,0 +1,38 @@
<spark-invoice-list :user="user" :team="team"
:invoices="invoices" :billable-type="billableType" inline-template>
<div class="panel panel-default">
<div class="panel-heading">Invoices</div>
<div class="panel-body">
<table class="table table-borderless m-b-none">
<thead>
</thead>
<tbody>
<tr v-for="invoice in invoices">
<!-- Invoice Date -->
<td>
<div class="btn-table-align">
<strong>@{{ invoice.created_at | date }}</strong>
</div>
</td>
<!-- Invoice Total -->
<td>
<div class="btn-table-align">@{{ invoice.total | currency }}</div>
</td>
<!-- Invoice Download Button -->
<td class="text-right">
<a :href="downloadUrlFor(invoice)">
<button class="btn btn-default">
<i class="fa fa-btn fa-file-pdf-o"></i>Download PDF
</button>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</spark-invoice-list>

View File

@@ -0,0 +1,41 @@
<spark-update-extra-billing-information :user="user" :team="team" :billable-type="billableType" inline-template>
<div class="panel panel-default">
<div class="panel-heading">Extra Billing Information</div>
<div class="panel-body">
<!-- Information Message -->
<div class="alert alert-info">
This information will appear on all of your receipts, and is a great place to add your full
business name, VAT number, or address of record. Do not include any confidential or
financial information such as credit card numbers.
</div>
<!-- Success Message -->
<div class="alert alert-success" v-if="form.successful">
Your billing information has been updated!
</div>
<!-- Extra Billing Information -->
<form class="form-horizontal" role="form">
<div class="form-group" :class="{'has-error': form.errors.has('information')}">
<div class="col-md-12">
<textarea class="form-control" rows="7" v-model="form.information" style="font-family: monospace;"></textarea>
<span class="help-block" v-show="form.errors.has('information')">
@{{ form.errors.get('information') }}
</span>
</div>
</div>
<!-- Update Button -->
<div class="form-group m-b-none">
<div class="col-md-offset-4 col-md-8 text-right">
<button type="submit" class="btn btn-primary" @click.prevent="update" :disabled="form.busy">
Update
</button>
</div>
</div>
</form>
</div>
</div>
</spark-update-extra-billing-information>