Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d7df103a

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID d7df103afbef4f14e57fab1377365f00a540d3c5
  • Vorgänger 7145ffd9
  • Nachfolger 85cf65dd

Model::Record: Workflow zu Angebots- und Auftrags-Eingänge eingefügt

Unterschiede anzeigen:

SL/Controller/Order.pm
2296 2296
          t8('Save and Purchase Quotation Intake'),
2297 2297
          call     => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => PURCHASE_QUOTATION_INTAKE_TYPE()), '#order_form' ],
2298 2298
          only_if  => (any { $self->type eq $_ } (REQUEST_QUOTATION_TYPE())),
2299
          only_if  => $self->type_data->show_menu('save_and_purchase_quotation_intake'),
2299 2300
          disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
2300 2301
        ],
2301 2302
        action => [
2302 2303
          t8('Save and Sales Order Intake'),
2303 2304
          call     => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => SALES_ORDER_INTAKE_TYPE()), '#order_form' ],
2304 2305
          only_if  => (any { $self->type eq $_ } (SALES_QUOTATION_TYPE())),
2306
          only_if  => $self->type_data->show_menu('save_and_sales_order_intake'),
2305 2307
          disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
2306 2308
        ],
2307 2309
        action => [
SL/DB/Order/TypeData.pm
32 32
      attachment => t8("sales_order_list"),
33 33
    },
34 34
    show_menu => {
35
      save_and_quotation      => 1,
36
      save_and_rfq            => 1,
37
      save_and_sales_order    => 0,
38
      save_and_purchase_order => 1,
39
      save_and_delivery_order => 1,
40
      save_and_supplier_delivery_order => 0,
41
      save_and_reclamation    => 1,
35
      save_and_quotation                   => 1,
36
      save_and_rfq                         => 1,
37
      save_and_purchase_quation_intake     => 0,
38
      save_and_sales_order_intake          => 0,
39
      save_and_sales_order                 => 0,
40
      save_and_purchase_order              => 1,
41
      save_and_delivery_order              => 1,
42
      save_and_supplier_delivery_order     => 0,
43
      save_and_reclamation                 => 1,
42 44
      save_and_invoice_for_advance_payment => 1,
43
      save_and_final_invoice  => 1,
44
      save_and_ap_transaction => 0,
45
      save_and_invoice        => 1,
46
      delete                  => sub { $::instance_conf->get_sales_order_show_delete },
45
      save_and_final_invoice               => 1,
46
      save_and_ap_transaction              => 0,
47
      save_and_invoice                     => 1,
48
      delete => sub { $::instance_conf->get_sales_order_show_delete },
47 49
    },
48 50
    properties => {
49 51
      customervendor => "customer",
......
81 83
      attachment => t8("purchase_order_list"),
82 84
    },
83 85
    show_menu => {
84
      save_and_quotation      => 0,
85
      save_and_rfq            => 1,
86
      save_and_sales_order    => 1,
87
      save_and_purchase_order => 0,
88
      save_and_delivery_order => 1,
89
      save_and_supplier_delivery_order => 1,
90
      save_and_reclamation    => 1,
86
      save_and_quotation                   => 0,
87
      save_and_rfq                         => 1,
88
      save_and_purchase_quation_intake     => 0,
89
      save_and_sales_order_intake          => 0,
90
      save_and_sales_order                 => 1,
91
      save_and_purchase_order              => 0,
92
      save_and_delivery_order              => 1,
93
      save_and_supplier_delivery_order     => 1,
94
      save_and_reclamation                 => 1,
91 95
      save_and_invoice_for_advance_payment => 0,
92
      save_and_final_invoice  => 0,
93
      save_and_ap_transaction => 1,
94
      save_and_invoice        => 1,
95
      delete                  => sub { $::instance_conf->get_purchase_order_show_delete },
96
      save_and_final_invoice               => 0,
97
      save_and_ap_transaction              => 1,
98
      save_and_invoice                     => 1,
99
      delete => sub { $::instance_conf->get_purchase_order_show_delete },
96 100
    },
97 101
    properties => {
98 102
      customervendor => "vendor",
......
123 127
      attachment => t8("quotation_list"),
124 128
    },
125 129
    show_menu => {
126
      save_and_quotation      => 0,
127
      save_and_rfq            => 1,
128
      save_and_sales_order    => 1,
129
      save_and_purchase_order => 0,
130
      save_and_delivery_order => 0,
131
      save_and_supplier_delivery_order => 0,
132
      save_and_reclamation    => 0,
130
      save_and_quotation                   => 0,
131
      save_and_rfq                         => 1,
132
      save_and_purchase_quation_intake     => 0,
133
      save_and_sales_order_intake          => 1,
134
      save_and_sales_order                 => 1,
135
      save_and_purchase_order              => 0,
136
      save_and_delivery_order              => 0,
137
      save_and_supplier_delivery_order     => 0,
138
      save_and_reclamation                 => 0,
133 139
      save_and_invoice_for_advance_payment => 0,
134
      save_and_final_invoice  => 0,
135
      save_and_ap_transaction => 0,
136
      save_and_invoice        => 1,
137
      delete                  => 1,
140
      save_and_final_invoice               => 0,
141
      save_and_ap_transaction              => 0,
142
      save_and_invoice                     => 1,
143
      delete => 1,
138 144
    },
139 145
    properties => {
140 146
      customervendor => "customer",
......
172 178
      attachment => t8("rfq_list"),
173 179
    },
174 180
    show_menu => {
175
      save_and_quotation      => 1,
176
      save_and_rfq            => 0,
177
      save_and_sales_order    => 1,
178
      save_and_purchase_order => 1,
179
      save_and_delivery_order => 0,
180
      save_and_supplier_delivery_order => 0,
181
      save_and_reclamation    => 0,
181
      save_and_quotation                   => 1,
182
      save_and_rfq                         => 0,
183
      save_and_purchase_quation_intake     => 1,
184
      save_and_sales_order_intake          => 0,
185
      save_and_sales_order                 => 1,
186
      save_and_purchase_order              => 1,
187
      save_and_delivery_order              => 0,
188
      save_and_supplier_delivery_order     => 0,
189
      save_and_reclamation                 => 0,
182 190
      save_and_invoice_for_advance_payment => 0,
183
      save_and_final_invoice  => 0,
184
      save_and_ap_transaction => 0,
185
      save_and_invoice        => 1,
186
      delete                  => 1,
191
      save_and_final_invoice               => 0,
192
      save_and_ap_transaction              => 0,
193
      save_and_invoice                     => 1,
194
      delete => 1,
187 195
    },
188 196
    properties => {
189 197
      customervendor => "vendor",
......
214 222
      attachment => t8('purchase_quotation_intake_list'),
215 223
    },
216 224
    show_menu => {
217
      save_and_quotation      => 1,
218
      save_and_rfq            => 0,
219
      save_and_sales_order    => 1,
220
      save_and_purchase_order => 1,
221
      save_and_delivery_order => 0,
222
      save_and_supplier_delivery_order => 0,
223
      save_and_reclamation    => 0,
225
      save_and_quotation                   => 1,
226
      save_and_rfq                         => 0,
227
      save_and_purchase_quation_intake     => 0,
228
      save_and_sales_order_intake          => 0,
229
      save_and_sales_order                 => 1,
230
      save_and_purchase_order              => 1,
231
      save_and_delivery_order              => 0,
232
      save_and_supplier_delivery_order     => 0,
233
      save_and_reclamation                 => 0,
224 234
      save_and_invoice_for_advance_payment => 0,
225
      save_and_final_invoice  => 0,
226
      save_and_ap_transaction => 0,
227
      save_and_invoice        => 0,
228
      delete                  => 1,
235
      save_and_final_invoice               => 0,
236
      save_and_ap_transaction              => 0,
237
      save_and_invoice                     => 0,
238
      delete => 1,
229 239
    },
230 240
    properties => {
231 241
      customervendor => "vendor",
......
258 268
    show_menu => {
259 269
      save_and_quotation                   => 1,
260 270
      save_and_rfq                         => 1,
271
      save_and_purchase_quation_intake     => 0,
272
      save_and_sales_order_intake          => 0,
261 273
      save_and_sales_order                 => 1,
262 274
      save_and_purchase_order              => 1,
263 275
      save_and_delivery_order              => 0,
......
267 279
      save_and_final_invoice               => 0,
268 280
      save_and_ap_transaction              => 0,
269 281
      save_and_invoice                     => 0,
270
      delete                               => sub { $::instance_conf->get_sales_order_show_delete },
282
      delete => sub { $::instance_conf->get_sales_order_show_delete },
271 283
    },
272 284
    properties => {
273 285
      customervendor => "customer",

Auch abrufbar als: Unified diff