add req bill and payment #left order and sale
This commit is contained in:
@@ -35,7 +35,7 @@ class Transactions::BookingsController < ApplicationController
|
||||
def show
|
||||
|
||||
@booking = Booking.find(params[:id])
|
||||
|
||||
@order = []
|
||||
@order_items = []
|
||||
@booking.booking_orders.each do |booking_order|
|
||||
@order = Order.find(booking_order.order_id)
|
||||
|
||||
@@ -89,7 +89,8 @@ class Transactions::SalesController < ApplicationController
|
||||
# GET /transactions/sales/1
|
||||
# GET /transactions/sales/1.json
|
||||
def show
|
||||
|
||||
@membership = MembershipSetting::MembershipSetting
|
||||
@payment_methods = PaymentMethodSetting.where("is_active='1'")
|
||||
@sale = Sale.find(params[:id])
|
||||
|
||||
@order_items = []
|
||||
|
||||
Reference in New Issue
Block a user