diff --git a/scenario/ajax-add-card-category.php b/scenario/ajax-add-card-category.php new file mode 100644 index 000000000..3988aeb40 --- /dev/null +++ b/scenario/ajax-add-card-category.php @@ -0,0 +1,15 @@ + '42', + 'ctl' => 'select_card_div', + 'op' => 'st', + 'fil' => '-1', + 'ledger' => '2', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_card.php'; diff --git a/scenario/ajax-detail-operation1.php b/scenario/ajax-detail-operation1.php new file mode 100644 index 000000000..8245ac14d --- /dev/null +++ b/scenario/ajax-detail-operation1.php @@ -0,0 +1,14 @@ + '27', + 'act' => 'de', + 'jr_id' => '2856', + 'div' => 'det2', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_ledger.php'; diff --git a/scenario/ajax-detail-operation2.php b/scenario/ajax-detail-operation2.php new file mode 100644 index 000000000..851d0f88c --- /dev/null +++ b/scenario/ajax-detail-operation2.php @@ -0,0 +1,14 @@ + '27', + 'act' => 'de', + 'jr_id' => '2870', + 'div' => 'det2', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_ledger.php'; diff --git a/scenario/ajax-detail-operation3.php b/scenario/ajax-detail-operation3.php new file mode 100644 index 000000000..9a99ed696 --- /dev/null +++ b/scenario/ajax-detail-operation3.php @@ -0,0 +1,14 @@ + '27', + 'act' => 'de', + 'jr_id' => '3532', + 'div' => 'det2', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_ledger.php'; diff --git a/scenario/ajax-detail-operation4.php b/scenario/ajax-detail-operation4.php new file mode 100644 index 000000000..aaa24285c --- /dev/null +++ b/scenario/ajax-detail-operation4.php @@ -0,0 +1,14 @@ + '27', + 'act' => 'de', + 'jr_id' => '2826', + 'div' => 'det2', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_ledger.php'; diff --git a/scenario/ajax-save-operation.php b/scenario/ajax-save-operation.php new file mode 100644 index 000000000..c12c38acb --- /dev/null +++ b/scenario/ajax-save-operation.php @@ -0,0 +1,35 @@ + 'det2', + 'jr_id' => '2856', + 'gDossier' => '27', + 'p_date' => '05.12.2013', + 'p_ech' => '', + 'p_date_paid' => '', + 'npj' => 'ACH607', + 'lib' => 'Consommable, ptit matériel', + 'jrn_note' => '', + 'j_id' => + array ( + 0 => '7629', + 1 => '7630', + ), + 'BON_COMMANDE' => '', + 'OTHER' => '', + 'raptdet2' => '', + 'related' => '327,231,330', + 'Fermer' => 'Fermer', + 'save' => 'Sauver', + 'Effacer' => 'Effacer', + 'bextdet2' => 'Extourner', + 'rapt' => '', + 'div' => 'det2', + 'act' => 'save', +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_ledger.php'; diff --git a/scenario/scenario-1416078146.php b/scenario/scenario-1416078146.php new file mode 100644 index 000000000..a16a410df --- /dev/null +++ b/scenario/scenario-1416078146.php @@ -0,0 +1,14 @@ + '42', + 'ctl' => 'div_new_card', + 'fd_id' => '2', + 'op' => 'bc', +); +$_POST=array ( +); +$_POST['gDossier']=$gDossierLogInput; +$_GET['gDossier']=$gDossierLogInput; + $_REQUEST=array_merge($_GET,$_POST); +include 'ajax_card.php';