Advertisement
shojibflamon

send parameter to view page

May 14th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.00 KB | None | 0 0
  1. return View::make('admin.viewInvoice')
  2.             ->with( 'title', 'Invoice')
  3.             ->with( 'customerName', $customerName)
  4.             ->with( 'created_at', $created_at)
  5.             ->with('lastInsertedProducts', $lastInsertedProducts)
  6.             ->with('salesNo', $salesNo)
  7.             ->with('salseTax', $salseTax)
  8.             ->with('discount', $discount)
  9.             ->with('paid_amount', $paid_amount)
  10.             ->with('paid_by', $paid_by)
  11.             // payment gateway variable
  12.             ->with('id', $id)
  13.             ->with('merchant_id', $merchant_id)
  14.             ->with('order_info', $order_info)
  15.             ->with('amount', $amount)
  16.             ->with('cus_name', $cus_name)
  17.             ->with('cus_add1', $cus_add1)
  18.             ->with('cus_add2', $cus_add2)
  19.             ->with('cus_city', $cus_city)
  20.             ->with('cus_state', $cus_state)
  21.             ->with('cus_postcode', $cus_postcode)
  22.             ->with('cus_country', $cus_country)
  23.             ->with('cus_phone', $cus_phone)
  24.             ->with('cus_email', $cus_email)
  25.             ->with('currency', $currency)
  26.             ->with('callback_url', $callback_url)
  27.             ->with('opt_a', $opt_a)
  28.             ->with('bankdescription', $bankdescription);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement