@extends('layouts.app') @section('content')
Lead Details Add New Lead
{{ Form::open(['id'=>'dataForm'])}} {{ Form::hidden('customer_id', '', ['id'=>'customer_id']) }} {{ Form::hidden('lead_id', $lead_id) }}
Customer Information
{{ Form::text('name', $lead->first_name.' '.$lead->last_name, ['class'=>'form-control', 'id'=>'name', 'readonly' => TRUE]) }}
{{ Form::text('phone', $lead->phone, ['class'=>'form-control', 'id'=>'company', 'readonly' => TRUE]) }}
{{ Form::text('company', $lead->company, ['class'=>'form-control', 'id'=>'company']) }}
{{ Form::text('email', $lead->email, ['class'=>'form-control', 'id'=>'email']) }}
Product Information
{{ Form::select('products', $products,'', ['class'=>'standardSelect form-control', 'title'=>'Select Product', 'data-live-search'=>'true', 'id'=>'products' , 'data-style'=>'btn-sp', 'data-size'=>'5']) }}
@php $total = 0; $cart = array(); if(session('data')) { $data = session('data'); $cart = $data['cart']; } @endphp @foreach($cart as $id => $details) @endforeach
Product Quantity Unit Price Tax Tax Amt. Subtotal Action
{{ $details['name'] }} INR {{ $details['unit_price'] }} {{ $details['tax'] }}% INR {{ $details['tax_amount'] }} INR {{ $details['total_sales_price'] }}
Total {{ $total }}
{{ Form::close() }}
@stop @section('scripting') @stop