@extends('user.user_master') @section('user.user_content') @section('user_title') News & Notice - {{$news_notice->notice_title}} @endsection @php $images = \App\Models\Theme::find(1); @endphp

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('News & Notice Details ', 'ne') }} @else News & Notice Details @endif

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Success comes in cans, failure in can’ts.', 'ne') }} @else Success comes in cans, failure in can’ts. @endif

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans($news_notice->notice_title, 'ne') }} @else {{$news_notice->notice_title}} @endif

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Published By: ', 'ne') }} @else Published By: @endif @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans($news_notice->user->name, 'ne') }} @else {{$news_notice->user->name}} @endif

Date: @php $year = $news_notice->created_at->format('Y'); $month = $news_notice->created_at->format('m'); $day = $news_notice->created_at->format('d'); $date = Bsdate::eng_to_nep($year, $month, $day); echo $date['nmonth'] . ' ' . $date['date'] .','. ' ' . $date['year'] @endphp

@php $notice_image = \App\Models\NewsNoticeImage::where('notice_id',$news_notice->id)->get(); @endphp @foreach($notice_image as $item) @endforeach
@endsection