@extends ('core.layouts.app') @section ('title', trans('general.dashboard_title').' | '.config('core.cname')) @section('content')
@if(config('app.debug'))
×
Alert: Debug/Development Mode mode is turned on!
@endif
{{trans('dashboard.today_invoices')}}
{{trans('dashboard.today_sales')}}
{{trans('dashboard.month_invoices')}}
{{trans('dashboard.month_sales')}}

{{trans('dashboard.sales_invoice_graph')}}

{{trans('dashboard.today_sales')}}

{{trans('dashboard.today_profit')}}*

{{trans('dashboard.today_revenue')}}

{{trans('en.today_items')}}

{{trans('en.today_new_customer')}}

{{trans('en.today_new_products')}}

{{trans('dashboard.income_vs_expenses')}}


@php $prefixes=prefixes(); @endphp @foreach($data['invoices'] as $invoice) @endforeach
{{ trans('invoices.invoice')}} {{ trans('customers.customer') }} {{ trans('invoices.invoice_due_date') }} {{ trans('general.amount') }} {{ trans('general.status') }}
@switch($invoice['i_class']) @case(0) {{$prefixes->where('class','=',1)->first()->value}} @break @case(1) {{$prefixes->where('class','=',10)->first()->value}} @break @case($invoice['i_class']>1) {{$prefixes->where('class','=',6)->first()->value}} @break @endswitch #{{$invoice['tid']}} {{$invoice->customer->name}} {{dateFormat($invoice['invoiceduedate'])}} {{amountFormat($invoice['total'])}} {{trans('payments.'.$invoice['status'])}}

{{trans('dashboard.recent_buyers')}}

@foreach($data['customers'] as $customer)
{{$customer->customer->name}}{{trans('payments.'.$customer['status'])}}

@endforeach

{{trans('en.sales_goal')}} %

{{trans('en.stock_goal')}} %

{{trans('en.income_goal')}} %

{{trans('en.expense_goal')}} %

{{trans('dashboard.recent')}} {{trans('transactions.transactions')}}

@foreach ($transactions as $item) @endforeach
{{trans('transactions.payment_date')}} {{ trans('transactions.account_id') }} {{ trans('transactions.debit') }} {{ trans('transactions.credit') }} {{ trans('transactions.method') }}
{{dateFormat($item['payment_date'])}} #{{$item['id']}} {{@$item->account->holder}} {{amountFormat($item['debit'])}} {{amountFormat($item['credit'])}} {{$item['method']}}

{{trans('dashboard.stock_alert')}}

{{trans('dashboard.cash_flow')}}

{{trans('dashboard.cash_flow_graph')}}

{{trans('dashboard.task_manager')}}

{{ trans('tasks.task') }} {{ trans('tasks.start') }} {{ trans('tasks.duedate') }} {{ trans('tasks.status') }}
@include('focus.projects.modal.task_view') @endsection @section('after-styles') {!! Html::style('core/app-assets/vendors/css/charts/morris.css') !!} @endsection @section('extra-scripts') {{ Html::script('core/app-assets/vendors/js/charts/raphael-min.js') }} {{ Html::script('core/app-assets/vendors/js/charts/morris.min.js') }} {{ Html::script(mix('js/dataTable.js')) }} @endsection