swapna

swapna

Member Since 1 Year Ago

Experience Points 1,320
Experience Level 1

3,680 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

10 Jul
2 months ago

swapna left a reply on Enum

hey i got the answer

->where('user_timesheet_details.is_expense', '=' , ' 0')

tq

swapna started a new conversation Enum

i have saved 'is_expense' column as enum i.e,0,1

but now in program i only have '0' value rows in resut,

->where('user_timesheet_details.is_expense',=, 0)

it gives me wrong result.

11 Jun
3 months ago

swapna left a reply on Ng2-smart-table In Angular

am asking about ng smart table !

swapna started a new conversation Ng2-smart-table In Angular

how to get number foramt, i.e, 1,000.67?

10 Apr
5 months ago

swapna started a new conversation Angular

How to fix a drop down read only in angular?

i.e, we cant touch that drop down also?

06 Mar
6 months ago

swapna started a new conversation Angular

how to hightlight text in filters? in angular? i have 3 filter boxes and i have to make them highlight?

27 Feb
6 months ago

swapna left a reply on HOW TO GET ONLY ONE DATA FROM STRING?

string(279) "{"assignment_settings_id":181,"client_approval_timesheet":1,"client_user_id":"108","expenses_id":null,"client_approval_expenses":0,"agency_authorization":1,"timesheet_workflow_type":"esignature","assignment_id":315,"agency_id":107,"status":"1","updated_at":null,"is_deleted":"0"}"

swapna started a new conversation HOW TO GET ONLY ONE DATA FROM STRING?

agency_authorization: 1 agency_id: 107 assignment_id: 315 assignment_settings_id: 181 client_approval_expenses: 0 client_approval_timesheet: 1 client_user_id: "108" expenses_id: null is_deleted: "0" status: "1" timesheet_workflow_type: "esignature" updated_at: null

This result is coming as string how can i get "client user id".

12 Feb
7 months ago

swapna started a new conversation Laravel Date Function

any one is here?

i have jan,2020 by using i got week number also i want start date and end date of this month

swapna left a reply on Week Number

any one is here?

i have jan,2020 i want start date and end date of this month

31 Jan
7 months ago

swapna left a reply on Week Number

okay thanks to all.

swapna left a reply on Week Number

yup used but how to find week number

swapna left a reply on Week Number

01 Jan 2018 to 07 Jan 2018 there is to not only 01 Jan 2018

swapna started a new conversation Week Number

i have this one 01 Jan 2018 to 07 Jan 2018 using this i want to get week number and start and end dates.

swapna started a new conversation "push" In Angualr

i am getting result as disabled: false end_date: "07-01-2018 00:00:00" end_date_ts: 1515283200 selected: false start_date: "01-01-2018 00:00:00" start_date_ts: 1514764800 week_name: "01 Jan 2018 to 07 Jan 2018" week_number: "01"

if i select mutiple i want to push as array in angular how?

swapna started a new conversation NOT Java Script In Angular

<ng-select class="form-control field-disable-white" [items]="weeks" id="week_name_{{i}}" bindLabel="week_name" bindValue="week_number" placeholder="Select month" formControlName="week_number" (ngModelChange)="getWeeks($event); setWeeks($event,i)" multiple="true"> </ng-select>

i am getting only week number "what i binded value" but i want bind label name. how it is?

swapna left a reply on Array To String In Laravel

thanks you

30 Jan
7 months ago

swapna left a reply on Array To String In Laravel

yeah already i used but it does not work.

swapna started a new conversation Array To String In Laravel

i had result like as array but i have to save in db using ','? Ex:if i select multiple then in resultant db is like as 04,48,96.

Can any one help me!!!!!!!!!!!!!

26 Dec
8 months ago

swapna started a new conversation Joins

I have one table as address,i saved "candidate_contact_info" and "supplier_contact_details" with supplier and candidate id's. how i have to join this tables in laravel.

14 Dec
9 months ago

swapna started a new conversation Date Filter

select * from assignment where (assignment.agency_id = '102' and assignment.status = '1' and assignment.is_deleted = '0') and assignment_start_date >= '2018-01-01' and assignment_end_date <= '2018-06-05' .I wrote query like this but i have more than 10 assignments in this '2018-01-01'.but result is only one record "2018-01-01", " 2018-05-31"

27 Nov
9 months ago

swapna started a new conversation Week To Date

how splits week end dates with date-range filter.

If i give 01-01-2018 to 31-01-2018 split as 7-1-2018 14-1-2018 21-1-2018 28-1-2018

20 Nov
9 months ago

swapna started a new conversation Latest Records

how i want to get latest date in laravel without using "MAX".

20 Sep
11 months ago

swapna started a new conversation I Want To Get Agency_user_id Who Has Maximun Split_percentage?

$assign_id = $value['assignment_id'];

        $user_id = AssignmentCommissionsMapping::where([
            'assignment_commissions_mapping.assignment_id' => $assign_id,
            'assignment_commissions_mapping.agency_id' => $agency_id,
            'assignment_commissions_mapping.status' => Config::get('platformconstants.STATUS'),
            'assignment_commissions_mapping.is_deleted' => Config::get('platformconstants.IS_DELETED')
        ])
            ->whereRaw('max(assignment_commissions_mapping.split_percentage)')
                ->select('assignment_commissions_mapping.agency_user_id');
        return $user_id->get();
06 Jul
1 year ago

swapna left a reply on When I Want Download Excel?

message: "Call to undefined method Maatwebsite\Excel\Excel::create()",…} exception : "Symfony\Component\Debug\Exception\FatalThrowableError" file : "D:\xampp\htdocs\texas\core\app\Services\Reports.php" line : 51 message : "Call to undefined method Maatwebsite\Excel\Excel::create()" trace : [{file: "D:\xampp\htdocs\texas\core\app\Http\Controllers\Report\TestController.php", line: 76,…},…]

//////////////// This is my program ////////////////////////////////////

public function testExcelDownload() { $data =[]; Excel::create($data, function ($excel) use ($data) {

            $excel->sheet(Config::get('platformconstants.excel.reports.sheet_name'), function ($sheet) use ($data) {

                $sheet->freezeFirstRow();

                $i = 1;
                $sheet->setColumnFormat(Config::get('platformconstants.excel.reports.cell_format'));
                $sheet->row($i++, Config::get('platformconstants.excel.reports.heading'));

                foreach ($data as $data) {
                    // $payslip = isset($data) ? $data['pay_details']['payslip'] : $data['pay_details'];
                    $sheet->row($i++, [$data['client_name'], $data['client_id'], $data['agency_name']]);
                }

            });

        })->download('xlsx');
    }
}
05 Jul
1 year ago

swapna started a new conversation When I Want Download Excel?

message": "Call to a member function download() on string", "exception": "Symfony\Component\Debug\Exception\FatalThrowableError", "file": "D:\xampp\htdocs\texas\core\app\Services\Reports.php", "line": 62, "trace": [ { "file": "D:\xampp\htdocs\texas\core\app\Http\Controllers\Report\TestController.php", "line": 86, "function": "testExcelDownload", "class": "App\Services\Reports", "type": "->"

01 Jun
1 year ago

swapna started a new conversation How To Append Row Id To Emp Id.

emp id in the from is only read only

30 May
1 year ago

swapna started a new conversation How To Get Falsh Messages In Laravel Like Alert In Java Script?

i am in learning stage any one help me.thanks advance

29 May
1 year ago

swapna started a new conversation How I Get Row In Text Boxes If I Click Edit Button

@extends('layouts.app') @section('content')

ADD

Items

NAME DATE CODE RATE

@foreach ($products as $products)

{{$products->name}} {{$products->date}} {{$products->code}} {{$products->number}}

@endforeach

@endsection

swapna left a reply on I Created Pages.

@rin4ik just i tried like that,but problem is i didn't end the section.

swapna left a reply on I Created Pages.

@rin4ik thank you so much its working.

28 May
1 year ago

swapna left a reply on I Created Pages.

Laravel
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">

<!-- Fonts -->
<link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

Toggle Navigation Laravel
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="{{ url('/') }}">Home</a></li>
            </ul>
         

            
            <ul class="nav navbar-nav navbar-right">
                @if (Auth::guest())
                    <li><a href="{{ url('/auth/login') }}">Login</a></li>
                    <li><a href="{{ url('/auth/register') }}">Register</a></li>
                @else
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="{{ url('/auth/logout') }}">Logout</a></li>
                        </ul>
                    </li>
                @endif
            </ul>
    
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            @yield('content1')
            <ul class="nav navbar-nav">
                <li><a href="{{ url('/product') }}">Product</a></li>
            </ul>
       <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="{{ url('/purchase') }}">Purchase Order</a></li>
            </ul>
        </div>
    </div>
</nav>

@yield('content')


<!-- Scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{ asset('js/bootstrap.min.js') }}"></script>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js"></script>

swapna left a reply on I Created Pages.

app.blade.php

@yield('content1')

index.blade.php @extends('layouts.app') @section('content1')

ADD

Items

NAME DATE CODE RATE

@foreach ($products as $products)

{{$products->name}} {{$products->date}} {{$products->code}} {{$products->number}}

@endforeach

swapna started a new conversation I Created Pages.

I want to display all http://localhost/blog/public/product main page in all i created pages,its coming but top of the page.I want that page on body page.