1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/resources/views/portal/default/dashboard/index.blade.php

107 lines
3.4 KiB
PHP
Raw Normal View History

2019-07-19 06:32:51 +02:00
@extends('portal.default.layouts.master')
@section('body')
2019-08-21 01:17:46 +02:00
<main class="main">
2019-08-21 04:05:33 +02:00
<div class="container-fluid">
<div class="row" style="margin-top: 30px;">
<div class="col-6 col-lg-4">
<div class="card">
<div class="card-body p-3 d-flex align-items-center">
<i class="fa fa-money bg-primary p-3 font-2xl mr-3"></i>
<div>
<div class="text-value-sm text-primary">$1.999,50</div>
<div class="text-muted text-uppercase font-weight-bold small">{{ ctrans('texts.total_invoiced')}}</div>
</div>
</div>
</div>
2019-07-20 12:57:23 +02:00
</div>
2019-08-21 04:05:33 +02:00
<div class="col-6 col-lg-4">
<div class="card">
<div class="card-body p-3 d-flex align-items-center">
<i class="fa fa-hourglass-end bg-info p-3 font-2xl mr-3"></i>
<div>
<div class="text-value-sm text-info">$1.999,50</div>
<div class="text-muted text-uppercase font-weight-bold small">{{ ctrans('texts.paid_to_date') }}</div>
</div>
</div>
</div>
</div>
<div class="col-6 col-lg-4">
<div class="card">
<div class="card-body p-3 d-flex align-items-center">
<i class="fa fa-exclamation-triangle bg-warning p-3 font-2xl mr-3"></i>
<div>
<div class="text-value-sm text-warning">$1.999,50</div>
<div class="text-muted text-uppercase font-weight-bold small">{{ ctrans('texts.open_balance')}}</div>
</div>
</div>
</div>
</div>
</div>
2019-08-21 06:29:07 +02:00
<!-- client and supplier information -->
<div class="row">
<div class="col-sm-6 col-md-6">
<div class="card">
<div class="card-header">{{ctrans('texts.client_information')}}</div>
<div class="card-body">
<h2>{{ $client->present()->name() }}</h2>
<br>
{!! $client->present()->address() !!}
</div>
</div>
</div>
<div class="col-sm-6 col-md-6">
<div class="card">
<div class="card-header">{{ctrans('texts.contact_us')}}</div>
<div class="card-body">
@if ($company->logo)
2019-09-05 00:04:45 +02:00
{!! Html::image($company->logo) !!}
2019-08-21 06:29:07 +02:00
@else
<h2>{{ $company->present()->name() }}</h2>
@endif
<br>
{!! $company->present()->address() !!}
</div>
</div>
</div>
</div>
2019-09-20 07:13:58 +02:00
<!-- update payment methods
2019-08-21 04:05:33 +02:00
<div class="row" style="margin-top: 30px;">
2019-08-21 05:30:07 +02:00
<div class="col-sm-6 col-lg-3">
<div class="card text-white bg-warning h-100">
<div class="card-body">
<div class="btn-group float-right">
<button class="btn btn-transparent dropdown-toggle p-0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-cog"></i>
</button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="#">Remove card</a>
</div>
</div>
<div class="w-50 p-0"><img class="card-img embed-responsive-item" src="/images/visa.png" alt="Visa Card"></div>
<div>{{ ctrans('texts.expires')}}: 10/20</div>
<small class="text-value">Mr Joe Citizen - ({{ctrans('texts.default')}})</small>
</div>
</div>
</div>
2019-08-21 04:05:33 +02:00
2019-08-21 05:30:07 +02:00
<div class="col-sm-6 col-lg-3">
<div class="card text-white bg-secondary h-100">
<div class="card-body align-items-center d-flex justify-content-center">
2019-09-08 14:13:55 +02:00
<a class="btn btn-primary btn-lg" href="{{ route('client.payment_methods.create') }}"><i class="fa fa-plus" style="" aria-hidden="true"></i> {{ ctrans('texts.add_payment_method')}}</a>
2019-08-21 05:30:07 +02:00
</div>
</div>
</div>
2019-08-21 01:17:46 +02:00
</div>
2019-09-20 07:13:58 +02:00
-->
2019-08-21 01:17:46 +02:00
</div>
</main>
2019-07-20 12:57:23 +02:00
</body>
2019-07-19 06:32:51 +02:00
@endsection