close #465 Fixed: For Invoice and Bill Status Problem Language Type
This commit is contained in:
		@@ -39,7 +39,7 @@
 | 
			
		||||
                        <td class="text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                        <td class="text-right">{{ Date::parse($item->invoiced_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td class="text-right">{{ Date::parse($item->due_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td class="text-center"><span class="label {{ $item->status->label }}">{{ $item->status->name }}</span></td>
 | 
			
		||||
                        <td class="text-center"><span class="label {{ $item->status->label }}">{{ trans('invoices.status.' . $item->status->code) }}</span></td>
 | 
			
		||||
                    </tr>
 | 
			
		||||
                @endforeach
 | 
			
		||||
                </tbody>
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,11 @@
 | 
			
		||||
@section('content')
 | 
			
		||||
    <div class="box box-success">
 | 
			
		||||
        <section class="invoice">
 | 
			
		||||
            <span class="badge bg-aqua">{{ $invoice->status->name }}</span>
 | 
			
		||||
            <div id="badge">
 | 
			
		||||
                <div class="arrow-up"></div>
 | 
			
		||||
                <div class="label {{ $invoice->status->label }}">{{ trans('invoices.status.' . $invoice->status->code) }}</div>
 | 
			
		||||
                <div class="arrow-right"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div class="row invoice-header">
 | 
			
		||||
                <div class="col-xs-7">
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
                        <td class="text-right amount-space">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                        <td>{{ Date::parse($item->billed_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td>{{ Date::parse($item->due_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td><span class="label {{ $item->status->label }}">{{ $item->status->name }}</span></td>
 | 
			
		||||
                        <td><span class="label {{ $item->status->label }}">{{ trans('bills.status.' . $item->status->code) }}</span></td>
 | 
			
		||||
                        <td class="text-center">
 | 
			
		||||
                            <div class="btn-group">
 | 
			
		||||
                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" data-toggle-position="left" aria-expanded="false">
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
        <div class="bill">
 | 
			
		||||
            <div id="badge">
 | 
			
		||||
                <div class="arrow-up"></div>
 | 
			
		||||
                <div class="label {{ $bill->status->label }}">{{ $bill->status->name }}</div>
 | 
			
		||||
                <div class="label {{ $bill->status->label }}">{{ trans('bills.status.' . $bill->status->code) }}</div>
 | 
			
		||||
                <div class="arrow-right"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@
 | 
			
		||||
                        <td class="text-right amount-space">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                        <td>{{ Date::parse($item->invoiced_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td>{{ Date::parse($item->due_at)->format($date_format) }}</td>
 | 
			
		||||
                        <td><span class="label {{ $item->status->label }}">{{ $item->status->name }}</span></td>
 | 
			
		||||
                        <td><span class="label {{ $item->status->label }}">{{ trans('invoices.status.' . $item->status->code) }}</span></td>
 | 
			
		||||
                        <td class="text-center">
 | 
			
		||||
                            <div class="btn-group">
 | 
			
		||||
                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" data-toggle-position="left" aria-expanded="false">
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
        <section class="invoice">
 | 
			
		||||
            <div id="badge">
 | 
			
		||||
                <div class="arrow-up"></div>
 | 
			
		||||
                <div class="label {{ $invoice->status->label }}">{{ $invoice->status->name }}</div>
 | 
			
		||||
                <div class="label {{ $invoice->status->label }}">{{ trans('invoices.status.' . $invoice->status->code) }}</div>
 | 
			
		||||
                <div class="arrow-right"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user