@extends('layouts.master')
@section('title')
@lang('translation.yajra-datatable')
@endsection
@section('css')
@endsection
@section('content')
@lang('translation.transaction_list')
{{--
@lang('translation.add') --}}
{{--
--}}
@lang('translation.no') |
@lang('translation.first_name') |
@lang('translation.email') |
@lang('translation.company') |
@lang('translation.mobile') |
@lang('translation.plans') |
@lang('translation.price') |
@lang('translation.payment_date') |
@lang('translation.activation_date') |
@lang('translation.end_date') |
@lang('translation.action') |
@php
use Carbon\Carbon;
$i=1;
@endphp
@foreach($billings as $bill)
{{$i}} |
@foreach($user as $users)
@if($bill->uid==$users->id)
{{$users->fname}} |
{{$users->email}} |
{{$users->company}} |
{{$users->mobile}} |
@endif
@endforeach
@foreach($price as $plansnam)
@if($bill->scheme==$plansnam->id)
{{$plansnam->name}} |
{{$plansnam->price}} |
@endif
@endforeach
{{ Carbon::parse($bill->billing_date)->format('d-m-Y') }} |
{{ Carbon::parse($bill->plans_start_at)->format('d-m-Y') }} |
{{ Carbon::parse($bill->plans_end_at)->format('d-m-Y') }} |
@if($bill->scheme==1)
|
@else
|
{{-- | --}}
@endif
@php
$i++;
@endphp
@endforeach
@endsection