Plugin Directory

Changeset 3212261


Ignore:
Timestamp:
12/23/2024 04:37:25 PM (15 months ago)
Author:
tidschi
Message:

Update to version 3.6 from GitHub

Location:
mareike
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mareike/tags/3.6/app/controllers/invoices/class-userinvoices.php

    r3211566 r3212261  
    4242    private function print_new_invoices() {
    4343        $invoices = GetUserInvoices::get_new_invoices(get_current_user_id());
    44         mareike_print_myinvoices_list('NEW', $invoices, $this->calc_total_amount($invoices));
     44        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_NEW, $invoices, $this->calc_total_amount($invoices));
    4545    }
    4646
    4747    private function print_approved_invoices() {
    48 
     48        $invoices = GetUserInvoices::get_approved_invoices(get_current_user_id());
     49        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_APPROVED, $invoices, $this->calc_total_amount($invoices));
    4950    }
    5051
    5152    private function print_denied_invoices() {
    52 
     53        $invoices = GetUserInvoices::get_denied_invoices(get_current_user_id());
     54        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_DENIED, $invoices, $this->calc_total_amount($invoices));
    5355    }
    5456
  • mareike/tags/3.6/install/database/invoice.sql

    r3211566 r3212261  
    77                                 `costunit_id` bigint UNSIGNED NOT NULL,
    88                                 `lfd_nummer` int NOT NULL,
    9                                  `status` ENUM('APPROVED','DENIED','EXPORTED','NOPAYOUT','NEW') NOT NULL DEFAULT 'NEW',
     9                                 `status` ENUM('APPROVED','DENIED','EXPORTED','NOPAYOUT','NEW', 'DENIED_EXPORTED') NOT NULL DEFAULT 'NEW',
    1010                                 `user_id` bigint UNSIGNED DEFAULT NULL,
    1111                                 `contact_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  • mareike/tags/3.6/mareike.php

    r3211905 r3212261  
    33 * Plugin Name:  mareike
    44 * Description: A tool to help associations to manage travel or material costs for events or ongoing jobs.
    5  * Version: 3.5
     5 * Version: 3.6
    66 * Tags: mareike, administration, fincance, travelmanagement, association tool
    77 * Requires at least: 6.0
  • mareike/tags/3.6/readme.txt

    r3211905 r3212261  
    44Requires at least: 6.0
    55Tested up to: 6.7
    6 Stable tag: 3.5
     6Stable tag: 3.6
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939
    4040## Changelog ##
     41= 3.6 =
     42* [IMP] Improved usability for user invoices
     43
    4144= 3.5 =
    4245* [BUG] Fixed file linking
  • mareike/trunk/app/controllers/invoices/class-userinvoices.php

    r3211566 r3212261  
    4242    private function print_new_invoices() {
    4343        $invoices = GetUserInvoices::get_new_invoices(get_current_user_id());
    44         mareike_print_myinvoices_list('NEW', $invoices, $this->calc_total_amount($invoices));
     44        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_NEW, $invoices, $this->calc_total_amount($invoices));
    4545    }
    4646
    4747    private function print_approved_invoices() {
    48 
     48        $invoices = GetUserInvoices::get_approved_invoices(get_current_user_id());
     49        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_APPROVED, $invoices, $this->calc_total_amount($invoices));
    4950    }
    5051
    5152    private function print_denied_invoices() {
    52 
     53        $invoices = GetUserInvoices::get_denied_invoices(get_current_user_id());
     54        mareike_print_myinvoices_list(Invoice::$INVOICE_STATUS_DENIED, $invoices, $this->calc_total_amount($invoices));
    5355    }
    5456
  • mareike/trunk/install/database/invoice.sql

    r3211566 r3212261  
    77                                 `costunit_id` bigint UNSIGNED NOT NULL,
    88                                 `lfd_nummer` int NOT NULL,
    9                                  `status` ENUM('APPROVED','DENIED','EXPORTED','NOPAYOUT','NEW') NOT NULL DEFAULT 'NEW',
     9                                 `status` ENUM('APPROVED','DENIED','EXPORTED','NOPAYOUT','NEW', 'DENIED_EXPORTED') NOT NULL DEFAULT 'NEW',
    1010                                 `user_id` bigint UNSIGNED DEFAULT NULL,
    1111                                 `contact_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  • mareike/trunk/mareike.php

    r3211905 r3212261  
    33 * Plugin Name:  mareike
    44 * Description: A tool to help associations to manage travel or material costs for events or ongoing jobs.
    5  * Version: 3.5
     5 * Version: 3.6
    66 * Tags: mareike, administration, fincance, travelmanagement, association tool
    77 * Requires at least: 6.0
  • mareike/trunk/readme.txt

    r3211905 r3212261  
    44Requires at least: 6.0
    55Tested up to: 6.7
    6 Stable tag: 3.5
     6Stable tag: 3.6
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939
    4040## Changelog ##
     41= 3.6 =
     42* [IMP] Improved usability for user invoices
     43
    4144= 3.5 =
    4245* [BUG] Fixed file linking
Note: See TracChangeset for help on using the changeset viewer.