mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
6 lines
303 B
CoffeeScript
6 lines
303 B
CoffeeScript
angular.module("Checkout").controller "CheckoutCtrl", ($scope, $rootScope) ->
|
|
$scope.require_ship_address = false
|
|
$scope.shipping_method = -1
|
|
$scope.shippingMethodChanged = ->
|
|
$scope.require_ship_address = $("#order_shipping_method_" + $scope.shipping_method).attr("data-require-ship-address")
|