diff --git a/netforce_clinic/actions/clinic_invoice_print.xml b/netforce_clinic/actions/clinic_invoice_print.xml new file mode 100644 index 0000000..f328bd0 --- /dev/null +++ b/netforce_clinic/actions/clinic_invoice_print.xml @@ -0,0 +1,6 @@ + + report_odt2 + clinic.shop + get_invoice_data + cust_invoice + diff --git a/netforce_clinic/actions/clinic_cust_print.xml b/netforce_clinic/actions/clinic_receipt_print.xml similarity index 75% rename from netforce_clinic/actions/clinic_cust_print.xml rename to netforce_clinic/actions/clinic_receipt_print.xml index 75a7d50..c849aea 100644 --- a/netforce_clinic/actions/clinic_cust_print.xml +++ b/netforce_clinic/actions/clinic_receipt_print.xml @@ -1,6 +1,6 @@ report_odt2 clinic.shop - get_data + get_receipt_data cust_payment diff --git a/netforce_clinic/actions/clinic_shop.xml b/netforce_clinic/actions/clinic_shop.xml index 78cc064..44567cd 100644 --- a/netforce_clinic/actions/clinic_shop.xml +++ b/netforce_clinic/actions/clinic_shop.xml @@ -6,6 +6,7 @@ [ ["All",[]], ["Draft",[["state","=","draft"]]], + ["Waiting Payment",[["state","=","waiting_payment"]]], ["Paid",[["state","=","paid"]]], ["Cancelled",[["state","=","cancelled"]]] ] diff --git a/netforce_clinic/layouts/clinic_shop_form.xml b/netforce_clinic/layouts/clinic_shop_form.xml index b86336e..eeb86ce 100644 --- a/netforce_clinic/layouts/clinic_shop_form.xml +++ b/netforce_clinic/layouts/clinic_shop_form.xml @@ -2,10 +2,12 @@ @@ -17,10 +19,10 @@ - - - - + + + + @@ -43,19 +45,19 @@ - - + + + -