Revision 730

Date:
2018/10/22 10:45:47
Author:
ahitrov
Revision Log:
New delivery field

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/webshop/lib/webshop/Address.pm

     
    11 11 [1, 'Основной адрес'],
    12 12 ],
    13 13 },
    14 { 'attr' => 'delivery', 'type' => 'lookup', 'rusname' => 'Тип доставки',
    15 'lookup_opts' => {
    16 'class' => 'webshop::Delivery',
    17 },
    18 },
    19 14 { 'attr' => 'name', 'type' => 'string', 'rusname' => 'Контактное лицо' },
    20 15 { 'attr' => 'phone', 'type' => 'string', 'rusname' => 'Телефон для связи',
    21 16 mandatory => 1, rel => 'Не указан телефон' },
  • utf8/plugins/webshop/lib/webshop/SQL/AddressTable.pm

     
    62 62 'default' => 0,
    63 63 },
    64 64 {
    65 'attr' => 'delivery_id',
    65 'attr' => 'delivery',
    66 66 'type' => 'lookup',
    67 67 'rusname' => 'Доставка',
    68 68 'lookup_opts' => {