Minor improvements

This commit is contained in:
Hillel Coren 2015-08-04 17:33:30 +03:00
parent 8f80ccf4d7
commit 2cfcdd1e77
16 changed files with 24 additions and 20 deletions

View File

@ -72,10 +72,10 @@ class HomeController extends BaseController
$user->news_feed_id = $newsFeedId;
$user->save();
}
Session::forget('news_feed_message');
}
Session::forget('news_feed_message');
return 'success';
}

View File

@ -743,7 +743,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -733,7 +733,7 @@ return array(
'invoice_no' => 'Rechnung Nr.',
'recent_payments' => 'Kürzliche Zahlungen',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',
);

View File

@ -120,7 +120,7 @@ return array(
'active_clients' => 'active clients',
'invoices_past_due' => 'Invoices Past Due',
'upcoming_invoices' => 'Upcoming Invoices',
'average_invoice' => 'Average invoice',
'average_invoice' => 'Average Invoice',
// list pages
'archive' => 'Archive',
@ -741,6 +741,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',
);

View File

@ -713,7 +713,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',
);

View File

@ -742,7 +742,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -734,7 +734,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -735,7 +735,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',
);

View File

@ -737,7 +737,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -744,7 +744,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -742,7 +742,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -737,7 +737,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -737,7 +737,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',
);

View File

@ -740,7 +740,7 @@ return array(
'recent_payments' => 'Recent Payments',
'outstanding' => 'Outstanding',
'manage_companies' => 'Manage Companies',
'total_revenue' => 'Total Revenue',

View File

@ -7,6 +7,9 @@
<div class="panel panel-default">
<div class="panel-body">
<img src="{{ asset('images/totalinvoices.png') }}" class="in-image"/>
<div class="in-thin">
{{ trans('texts.total_revenue') }}
</div>
<div class="in-bold">
@if (count($paidToDate))
@foreach ($paidToDate as $item)
@ -16,9 +19,6 @@
{{ Utils::formatMoney(0) }}
@endif
</div>
<div class="in-thin">
{{ trans('texts.in_total_revenue') }}
</div>
</div>
</div>
</div>

View File

@ -30,7 +30,10 @@
@elseif ($entityType == ENTITY_CLIENT)
{!! Button::normal(trans('texts.credits'))->asLinkTo(URL::to('/credits'))->appendIcon(Icon::create('list')) !!}
@endif
{!! Button::primary(trans("texts.new_$entityType"))->asLinkTo(URL::to("/{$entityType}s/create"))->appendIcon(Icon::create('plus-sign')) !!}
@if ($entityType != ENTITY_TASK || Auth::user()->account->timezone_id)
{!! Button::primary(trans("texts.new_$entityType"))->asLinkTo(URL::to("/{$entityType}s/create"))->appendIcon(Icon::create('plus-sign')) !!}
@endif
</div>
@if (isset($secEntityType))