app/Http/Controllers/DeliveryNoteController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create($diNo)
    {
    	 $dispatchInstruction = DispatchInstruction::where('diNo',$diNo)->first();
    	 $deliveryNoteNumber=self::getLastDeliveryNoteNumber();
			return View::make('deliveryNote.create')->with('dispatchInstruction',$dispatchInstruction)
													->with('deliveryNoteNumber',$deliveryNoteNumber);
    }
public function create ( $ diNo ) { $ dispatchInstruction = DispatchInstruction :: where ( 'diNo' , $ diNo ) -> first ( ) ; $ deliveryNoteNumber = self :: getLastDeliveryNoteNumber ( ) ; return View :: make ( 'deliveryNote.create' ) -> with ( 'dispatchInstruction' , $ dispatchInstruction ) -> with ( 'deliveryNoteNumber' , $ deliveryNoteNumber ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .