mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-23 01:03:21 +00:00
23 lines
684 B
Plaintext
23 lines
684 B
Plaintext
|
|
%td
|
|
%td.notes
|
|
%td{bindonce: ""} {{variant.options_text}}
|
|
%td
|
|
%input{type: :number,
|
|
value: nil,
|
|
min: 0,
|
|
"ofn-disable-scroll" => true,
|
|
max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
|
|
name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}",
|
|
"ng-model" => "variant.quantity"}
|
|
%td.group_buy
|
|
%span{"ng-show" => "product.group_buy"}
|
|
%input{type: :number,
|
|
min: 0,
|
|
"ofn-disable-scroll" => true,
|
|
max: "{{variant.on_demand && 9999 || variant.count_on_hand }}",
|
|
name: "variant_attributes[{{variant.id}}][max_quantity]",
|
|
"ng-model" => "variant.max_quantity"}
|
|
%td.price.text-right{bindonce: ""}
|
|
{{ variant.price | currency }}
|