Starting on the improved accordion checkout

This commit is contained in:
Will Marshall
2014-04-07 16:15:19 +10:00
parent 4447730505
commit 577c91aca5
12 changed files with 229 additions and 192 deletions

View File

@@ -18,6 +18,9 @@ Darkswarm.controller "CheckoutCtrl", ($scope, $rootScope, order) ->
$scope.shippingMethod = ->
$scope.order.shipping_methods[$scope.order.shipping_method_id]
$scope.paymentMethod = ->
$scope.order.payment_methods[$scope.order.payment_method_id]
$scope.shippingMethodChanged = ->
$scope.require_ship_address = $scope.shippingMethod().require_ship_address if $scope.shippingMethod()