Plugin Directory

Changeset 3466277

Timestamp:
02/21/2026 07:18:32 AM (6 weeks ago)
Author:
iworks
Message:

1.1.3

Location:
kpir
Files:
192 added
17 edited

Legend:

Unmodified
Added
Removed
  • kpir/trunk/assets/scripts/admin/kpir.js

    r3317373 r3466277  
    1 /*! Księga Przychodi i Rozchodu - v1.1.2
     1/*! Księga Przychodi i Rozchodu - v1.1.
    22 * http://iworks.pl/
    3  * Copyright (c) 2025
     3 * Copyright (c) 202
    44 * Licensed GPL-3.0
    55 */
  • kpir/trunk/includes/iworks.php

    r3290322 r3466277  
    11<?php
    22/*
    3 Copyright 2016-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2016-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/class-kpir.php

    r3317373 r3466277  
    6161     * @var string
    6262     */
    63     protected $version = '1.1.2';
     63    protected $version = '1.1.';
    6464
    6565    /**
     
    8787    public function __construct() {
    8888        parent::__construct();
    89         $this->version    = '1.1.2';
     89        $this->version    = '1.1.';
    9090        $this->capability = apply_filters( 'iworks_kpir_capability', 'manage_options' );
    9191        $this->base       = dirname( __DIR__, 1 );
  • kpir/trunk/includes/iworks/kpir/jpk.php

    r3244938 r3466277  
    11<?php
    22/*
    3 Copyright 2020-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2020-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/kpir/jpk/v7m.php

    r3244938 r3466277  
    11<?php
    22/*
    3 Copyright 2020-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2020-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/kpir/jpk/vat_3.php

    r3317373 r3466277  
    11<?php
    22/*
    3 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
     
    220220        <tns:DataOd>%s</tns:DataOd>
    221221        <tns:DataDo>%s</tns:DataDo>
    222         <tns:NazwaSystemu>KPiR 1.1.2</tns:NazwaSystemu>
     222        <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu>
    223223    </tns:Naglowek>';
    224224        $data .= PHP_EOL;
  • kpir/trunk/includes/iworks/kpir/posttypes.php

    r3317373 r3466277  
    11<?php
    22/*
    3 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/kpir/posttypes/contractor.php

    r3315349 r3466277  
    11<?php
    22/*
    3 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/kpir/posttypes/invoice.php

    r3315349 r3466277  
    1616
    1717/*
    18 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     18Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    1919
    2020this program is free software; you can redistribute it and/or modify
     
    119119    }
    120120
     121
     122
     123
     124
     125
     126
     127
     128
    121129    public function filter_add_sortable_columns( $columns ) {
    122130        $columns['date_of_payment'] = $this->get_custom_field_date_of_cash_name();
     
    125133
    126134    /**
    127      * set filters
     135     * Set up filters for the invoice post type.
     136     *
     137     * Adds default CSS classes to meta boxes for better styling.
    128138     *
    129139     * @since 1.1.0
     140
     141
    130142     */
    131143    public function action_init_set_filters() {
     
    143155
    144156    /**
    145      * set fields
     157     * Set up custom fields for the invoice post type.
     158     *
     159     * Defines all the field configurations for different invoice types
     160     * including basic data, income, expense, salary, asset, and insurance fields.
     161     *
     162     * @since 1.1.0
     163     *
     164     * @return void
    146165     */
    147166    public function action_init_set_fields() {
     
    364383    }
    365384    /**
    366      * Add default class to postbox,
     385     * Add default CSS class to post meta boxes.
     386     *
     387     * Adds the 'iworks-type' class to meta boxes for consistent styling.
     388     *
     389     * @since 1.1.0
     390     *
     391     * @param array $classes Existing CSS classes for the meta box.
     392     * @return array Modified CSS classes with 'iworks-type' added.
    367393     */
    368394    public function add_defult_class_to_postbox( $classes ) {
     
    371397    }
    372398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408
    373409    public function register() {
    374410        $labels = array(
     
    424460    }
    425461
     462
     463
     464
     465
     466
     467
     468
     469
     470
     471
     472
     473
    426474    public function save_post_meta( $post_id, $post, $update ) {
    427475        $this->save_post_meta_fields( $post_id, $post, $update, $this->fields );
     
    429477
    430478    /**
    431      * Change "Enter title here" to "Enter invoice number"
    432      *
    433      * @since 1.0
     479     * Change "Enter title here" placeholder text for invoice titles.
     480     *
     481     * Replaces the default title placeholder with "Enter invoice number"
     482     * for better user experience in the invoice post type.
     483     *
     484     * @since 1.0.0
     485     *
     486     * @param string $title The default title placeholder text.
     487     * @param WP_Post $post The current post object.
     488     * @return string Modified placeholder text for invoices.
    434489     */
    435490    public function enter_title_here( $title, $post ) {
     
    440495    }
    441496
     497
     498
     499
     500
     501
     502
     503
     504
     505
     506
     507
    442508    public function register_meta_boxes( $post ) {
    443509        add_meta_box( 'basic', __( 'Basic Data', 'kpir' ), array( $this, 'basic' ), $this->post_type_name );
     
    449515    }
    450516
     517
     518
     519
     520
     521
     522
     523
     524
    451525    public function basic( $post ) {
    452526        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    453527    }
    454528
     529
     530
     531
     532
     533
     534
     535
     536
    455537    public function income( $post ) {
    456538        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    457539    }
    458540
     541
     542
     543
     544
     545
     546
     547
     548
    459549    public function expense( $post ) {
    460550        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    461551    }
    462552
     553
     554
     555
     556
     557
     558
     559
     560
    463561    public function salary( $post ) {
    464562        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    465563    }
    466564
     565
     566
     567
     568
     569
     570
     571
     572
    467573    public function asset( $post ) {
    468574        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    469575    }
    470576
     577
     578
     579
     580
     581
     582
     583
     584
    471585    public function insurance( $post ) {
    472586        $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ );
    473587    }
    474588
     589
     590
     591
     592
     593
     594
     595
     596
     597
     598
     599
     600
     601
     602
     603
    475604    public function save_year_month_to_extra_field( $post_id, $option_name, $value, $key, $data ) {
    476605        if ( 'date' == $key ) {
     
    484613    }
    485614
     615
     616
     617
     618
     619
     620
     621
     622
    486623    public function close_meta_boxes( $classes ) {
    487624        $classes[] = 'closed';
     
    489626    }
    490627
     628
     629
     630
     631
     632
     633
     634
     635
     636
     637
     638
    491639    public function month_table( $month ) {
    492640        $args      = array(
     
    568716    }
    569717
     718
     719
     720
     721
     722
     723
     724
     725
     726
     727
     728
     729
    570730    private function add_value( $post_id, $meta_name ) {
    571731        $value = 0;
     
    573733        if ( is_array( $v ) ) {
    574734            if ( isset( $v['integer'] ) ) {
    575                 $value += 100 * $v['integer'];
     735                $value += 100 * ;
    576736            }
    577737            if ( isset( $v['fractional'] ) ) {
    578                 $value += $v['fractional'];
     738                $value += ;
    579739            }
    580740        }
     
    809969    }
    810970
     971
     972
     973
     974
     975
     976
     977
     978
     979
     980
     981
    811982    public function apply_filter_order_date_of_payment( $query ) {
    812983        if ( ! is_admin() ) {
  • kpir/trunk/includes/iworks/kpir/reports/annually.php

    r3290322 r3466277  
    11<?php
    22/*
    3 Copyright 2019-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2019-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/kpir/reports/monthly.php

    r3244938 r3466277  
    11<?php
    22/*
    3 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     3Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    44
    55this program is free software; you can redistribute it and/or modify
  • kpir/trunk/includes/iworks/options/options.php

    r3315349 r3466277  
    22/*
    33Class Name: iWorks Options
    4 Class URI: http://iworks.pl/
     4Class URI: http
    55Description: Option class to manage options.
    6 Version: 3.0.7
     6Version: 3.0.
    77Author: Marcin Pietrzak
    88Author URI: http://iworks.pl/
     
    2424along with this program; if not, write to the Free Software
    2525Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    26 
    2726 */
    2827
     
    7574         */
    7675        $this->notices              = array();
    77         $this->version              = '3.0.7';
     76        $this->version              = '3.0.';
    7877        $this->option_group         = 'index';
    7978        $this->option_function_name = null;
     
    18281827     * @since 1.0.0
    18291828     *
     1829
     1830
    18301831     * @param string $name  The name.
    18311832     * @param mixed  $value The value.
    18321833     * @param array  $args  The arguments.
    1833      * @param string $type  The type.
    18341834     *
    18351835     * @return void
    18361836     */
    1837     private function select( $name, $value = '', $args = array(), $type = 'text' ) {
     1837    private function select( $name, $value = '', $args = array() ) {
    18381838        /**
    18391839         * default value
     
    18561856            $options[ $value['value'] ] = $value['label'];
    18571857        }
     1858
     1859
     1860
    18581861        $value_to_check = is_array( $value ) && isset( $value['value'] ) ? $value['value'] : $value;
    1859         $content        = sprintf(
    1860             '<select type="%s" name="%s" %s >',
    1861             esc_attr( $type ),
     1862        /**
     1863         * is multiple?
     1864         */
     1865        $multiple = false;
     1866        if ( isset( $args['multiple'] ) && $args['multiple'] ) {
     1867            $multiple = true;
     1868            if ( ! is_array( $value_to_check ) ) {
     1869                $value_to_check = array( $value_to_check );
     1870            }
     1871        }
     1872        $content = sprintf(
     1873            '<select name="%s" %s>',
    18621874            esc_attr( $name ),
    18631875            $this->build_field_attributes( $args )
    18641876        );
    18651877        foreach ( $options as $val => $label ) {
     1878
     1879
     1880
     1881
     1882
     1883
     1884
     1885
     1886
     1887
    18661888            $content .= sprintf(
    1867                 '<option value="%s" %s>%s</option>',
     1889                '<option value="%s"%s>%s</option>',
    18681890                esc_attr( $val ),
    1869                 selected( $val, $value_to_check, false ),
     1891                ,
    18701892                esc_html( $label )
    18711893            );
     
    19311953
    19321954    /**
    1933      * Checkbox HTML element.
     1955     * .
    19341956     *
    19351957     * @since 2.6.4
     
    19391961     * @param array  $args  The arguments.
    19401962     *
    1941      * @return string The checkbox.
    1942      */
    1943     private function checkbox( $name, $value = '', $args = array() ) {
    1944         if ( ! empty( $value ) ) {
    1945             $args['checked'] = 'checked';
    1946         }
    1947         return $this->input( $name, $value, $args, __FUNCTION__ );
    1948     }
    1949 
    1950     /**
    1951      * Switch button element (based on checkbox field).
    1952      *
    1953      * @since 2.6.4
    1954      *
    1955      * @param string $name  The name.
    1956      * @param mixed  $value The value.
    1957      * @param array  $args  The arguments.
    1958      *
    19591963     * @return string The switch button.
    19601964     */
    19611965    private function switch_button( $name, $value = '', $args = array() ) {
    19621966        return $this->checkbox( $name, $value, $args );
    1963     }
    1964 
    1965     /**
    1966      * Text input element.
    1967      *
    1968      * @since 2.6.4
    1969      *
    1970      * @param string $name  The name.
    1971      * @param mixed  $value The value.
    1972      * @param array  $args  The arguments.
    1973      *
    1974      * @return string The text input.
    1975      */
    1976     private function text( $name, $value = '', $args = array() ) {
    1977         return $this->input( $name, $value, $args, __FUNCTION__ );
    1978     }
    1979 
    1980     /**
    1981      * Number input element.
    1982      *
    1983      * @since 2.6.4
    1984      *
    1985      * @param string $name  The name.
    1986      * @param mixed  $value The value.
    1987      * @param array  $args  The arguments.
    1988      *
    1989      * @return string The number input.
    1990      */
    1991     private function number( $name, $value = '', $args = array() ) {
    1992         return $this->input( $name, $value, $args, __FUNCTION__ );
    1993     }
    1994 
    1995     /**
    1996      * Button input element.
    1997      *
    1998      * @since 2.6.4
    1999      *
    2000      * @param string $name  The name.
    2001      * @param mixed  $value The value.
    2002      * @param array  $args  The arguments.
    2003      *
    2004      * @return string The button input.
    2005      */
    2006     private function button( $name, $value = '', $args = array() ) {
    2007         return $this->input( $name, $value, $args, __FUNCTION__ );
    2008     }
    2009 
    2010     /**
    2011      * Submit input element.
    2012      *
    2013      * @since 2.6.4
    2014      *
    2015      * @param string $name  The name.
    2016      * @param mixed  $value The value.
    2017      * @param array  $args  The arguments.
    2018      *
    2019      * @return string The submit input.
    2020      */
    2021     private function submit( $name, $value = '', $args = array() ) {
    2022         return $this->input( $name, $value, $args, __FUNCTION__ );
    2023     }
    2024 
    2025     /**
    2026      * Hidden input element.
    2027      *
    2028      * @since 2.6.4
    2029      *
    2030      * @param string $name  The name.
    2031      * @param mixed  $value The value.
    2032      * @param array  $args  The arguments.
    2033      *
    2034      * @return string The hidden input.
    2035      */
    2036     private function hidden( $name, $value = '', $args = array() ) {
    2037         return $this->input( $name, $value, $args, __FUNCTION__ );
    2038     }
    2039 
    2040     /**
    2041      * Date input element.
    2042      *
    2043      * @since 2.6.4
    2044      *
    2045      * @param string $name  The name.
    2046      * @param mixed  $value The value.
    2047      * @param array  $args  The arguments.
    2048      *
    2049      * @return string The date input.
    2050      */
    2051     private function date( $name, $value = '', $args = array() ) {
    2052         if ( ! isset( $args['class'] ) ) {
    2053             $args['class'] = array();
    2054         }
    2055         $args['class'][] = 'datepicker';
    2056         return $this->input( $name, $value, $args );
    20571967    }
    20581968
     
    21032013            $value
    21042014        );
    2105     }
    2106 
    2107     /**
    2108      * Radio input element.
    2109      *
    2110      * @since 2.6.4
    2111      *
    2112      * @param string $name  The name.
    2113      * @param mixed  $value The value.
    2114      * @param array  $args  The arguments.
    2115      *
    2116      * @return string The radio input.
    2117      */
    2118     private function radio( $name, $value = '', $args = array() ) {
    2119         $radio   = '';
    2120         $options = $args['options'];
    2121         unset( $args['options'] );
    2122         /**
    2123          * default value
    2124          */
    2125         if ( isset( $args['default'] ) && '' == $value ) {
    2126             $value = $args['default'];
    2127         }
    2128         $i = 0;
    2129         foreach ( $options as $option_value => $input ) {
    2130             $id     = sprintf( '%s%d', $name, $i++ );
    2131             $radio .= sprintf(
    2132                 '<li class="%s"><label for="%s"><input type="radio" name="%s" value="%s"%s id="%s"/> %s</label>',
    2133                 esc_attr( sanitize_title( $value ) ),
    2134                 esc_attr( $id ),
    2135                 esc_attr( $name ),
    2136                 esc_attr( $option_value ),
    2137                 checked( $option_value, $value, false ),
    2138                 esc_attr( $id ),
    2139                 esc_html( is_string( $input ) ? $input : $input['label'] )
    2140             );
    2141             if ( isset( $input['description'] ) ) {
    2142                 $radio .= '<br>';
    2143                 $radio .= $this->description( '', '', array( 'description' => wp_kses_post( $input['description'] ) ) );
    2144             }
    2145             $radio .= '</li>';
    2146         }
    2147         if ( $radio ) {
    2148             $radio = sprintf( '<ul>%s</ul>', $radio );
    2149         }
    2150         return $radio;
    21512015    }
    21522016
     
    27322596        return $this->pagehooks;
    27332597    }
     2598
     2599
     2600
     2601
     2602
     2603
     2604
     2605
     2606
     2607
     2608
     2609
     2610
     2611
     2612
     2613
     2614
     2615
     2616
     2617
     2618
     2619
     2620
     2621
     2622
     2623
     2624
     2625
     2626
     2627
     2628
     2629
     2630
     2631
     2632
     2633
     2634
     2635
     2636
     2637
     2638
     2639
     2640
     2641
     2642
     2643
     2644
     2645
     2646
     2647
     2648
     2649
     2650
     2651
     2652
     2653
     2654
     2655
     2656
     2657
     2658
     2659
     2660
     2661
     2662
     2663
     2664
     2665
     2666
     2667
     2668
     2669
     2670
     2671
     2672
     2673
     2674
     2675
     2676
     2677
     2678
     2679
     2680
     2681
     2682
     2683
     2684
     2685
     2686
     2687
     2688
     2689
     2690
     2691
     2692
     2693
     2694
     2695
     2696
     2697
     2698
     2699
     2700
     2701
     2702
     2703
     2704
     2705
     2706
     2707
     2708
     2709
     2710
     2711
     2712
     2713
     2714
     2715
     2716
     2717
     2718
     2719
     2720
     2721
     2722
     2723
     2724
     2725
     2726
     2727
     2728
     2729
     2730
     2731
     2732
     2733
     2734
     2735
     2736
     2737
     2738
     2739
     2740
     2741
     2742
     2743
     2744
     2745
     2746
     2747
     2748
     2749
     2750
     2751
     2752
     2753
     2754
     2755
     2756
     2757
     2758
     2759
     2760
     2761
     2762
     2763
     2764
     2765
     2766
     2767
     2768
     2769
     2770
     2771
     2772
     2773
     2774
     2775
     2776
     2777
     2778
     2779
     2780
     2781
     2782
     2783
     2784
     2785
     2786
     2787
     2788
     2789
     2790
     2791
     2792
     2793
     2794
     2795
     2796
     2797
     2798
     2799
     2800
     2801
     2802
     2803
     2804
     2805
     2806
     2807
     2808
     2809
     2810
     2811
     2812
     2813
     2814
     2815
     2816
     2817
     2818
     2819
     2820
     2821
     2822
     2823
     2824
     2825
     2826
     2827
     2828
     2829
     2830
     2831
     2832
     2833
     2834
     2835
     2836
     2837
     2838
     2839
     2840
     2841
     2842
     2843
     2844
     2845
     2846
     2847
     2848
     2849
     2850
     2851
     2852
     2853
     2854
    27342855}
    27352856
  • kpir/trunk/kpir.php

    r3264325 r3466277  
    44Text Domain: kpir
    55Plugin URI: http://iworks.pl/
    6 Description: Podatkowa Księga Przychodu i Rozchodu
     6Description:
    77Version: trunk
    88Author: Marcin Pietrzak
     
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
    1212
    13 Copyright 2017-2025 Marcin Pietrzak (marcin@iworks.pl)
     13Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl)
    1414
    1515this program is free software; you can redistribute it and/or modify
     
    3333define( 'IWORKS_KPIR_VERSION', 'trunk' );
    3434define( 'IWORKS_KPIR_PREFIX', 'iworks_kpir_' );
    35 $base   = dirname( __FILE__ );
     35$base   = ;
    3636$vendor = $base . '/includes';
    3737
  • kpir/trunk/languages/kpir.pot

    r3317373 r3466277  
    1 # Copyright (C) 2025 Marcin Pietrzak
     1# Copyright (C) 202 Marcin Pietrzak
    22# This file is distributed under the GPLv3 or later.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: 1.1.2\n"
     5"Project-Id-Version: 1.1.\n"
    66"Report-Msgid-Bugs-To: http://iworks.pl\n"
    7 "POT-Creation-Date: 2025-06-25 06:24:58+00:00\n"
     7"POT-Creation-Date: 2028+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n"
     11"PO-Revision-Date: 202-MO-DA HO:MI+ZONE\n"
    1212"Last-Translator: Marcin Pietrzak <marcin@iworks.pl>\n"
    1313"Language-Team: iWorks <support@iworks.pl>\n"
     
    195195
    196196#: includes/iworks/kpir/posttypes/contractor.php:70
    197 #: includes/iworks/options/options.php:2257
     197#: includes/iworks/options/options.php:2
    198198msgid "City"
    199199msgstr ""
    200200
    201201#: includes/iworks/kpir/posttypes/contractor.php:73
    202 #: includes/iworks/options/options.php:2256
     202#: includes/iworks/options/options.php:2
    203203msgid "Country"
    204204msgstr ""
     
    257257#: includes/iworks/kpir/posttypes/contractor.php:111
    258258#: includes/iworks/kpir/posttypes/contractor.php:137
    259 #: includes/iworks/kpir/posttypes/invoice.php:181
    260 #: includes/iworks/kpir/posttypes/invoice.php:683
     259#: includes/iworks/kpir/posttypes/invoice.php:
     260#: includes/iworks/kpir/posttypes/invoice.php:3
    261261msgid "Contractor"
    262262msgstr ""
     
    279279
    280280#: includes/iworks/kpir/posttypes/contractor.php:117
    281 #: includes/iworks/kpir/posttypes/invoice.php:384
     281#: includes/iworks/kpir/posttypes/invoice.php:
    282282msgid "Add New"
    283283msgstr ""
     
    308308
    309309#: includes/iworks/kpir/posttypes/contractor.php:124
    310 #: includes/iworks/kpir/posttypes/invoice.php:391
     310#: includes/iworks/kpir/posttypes/invoice.php:
    311311msgid "Not found"
    312312msgstr ""
    313313
    314314#: includes/iworks/kpir/posttypes/contractor.php:125
    315 #: includes/iworks/kpir/posttypes/invoice.php:392
     315#: includes/iworks/kpir/posttypes/invoice.php:
    316316msgid "Not found in Trash"
    317317msgstr ""
    318318
    319319#: includes/iworks/kpir/posttypes/contractor.php:126
    320 #: includes/iworks/kpir/posttypes/invoice.php:393
     320#: includes/iworks/kpir/posttypes/invoice.php:
    321321msgid "Featured Image"
    322322msgstr ""
    323323
    324324#: includes/iworks/kpir/posttypes/contractor.php:127
    325 #: includes/iworks/kpir/posttypes/invoice.php:394
     325#: includes/iworks/kpir/posttypes/invoice.php:
    326326msgid "Set featured image"
    327327msgstr ""
    328328
    329329#: includes/iworks/kpir/posttypes/contractor.php:128
    330 #: includes/iworks/kpir/posttypes/invoice.php:395
     330#: includes/iworks/kpir/posttypes/invoice.php:
    331331msgid "Remove featured image"
    332332msgstr ""
    333333
    334334#: includes/iworks/kpir/posttypes/contractor.php:129
    335 #: includes/iworks/kpir/posttypes/invoice.php:396
     335#: includes/iworks/kpir/posttypes/invoice.php:
    336336msgid "Use as featured image"
    337337msgstr ""
     
    373373msgstr ""
    374374
    375 #: includes/iworks/kpir/posttypes/invoice.php:157
     375#: includes/iworks/kpir/posttypes/invoice.php:1
    376376msgid "Date of issue"
    377377msgstr ""
    378378
    379 #: includes/iworks/kpir/posttypes/invoice.php:161
     379#: includes/iworks/kpir/posttypes/invoice.php:1
    380380msgid "Copy to event date"
    381381msgstr ""
    382382
    383 #: includes/iworks/kpir/posttypes/invoice.php:166
     383#: includes/iworks/kpir/posttypes/invoice.php:1
    384384msgid "Event date"
    385385msgstr ""
    386386
    387 #: includes/iworks/kpir/posttypes/invoice.php:174
     387#: includes/iworks/kpir/posttypes/invoice.php:1
    388388msgid "Cash-in Date"
    389389msgstr ""
    390390
    391 #: includes/iworks/kpir/posttypes/invoice.php:188
     391#: includes/iworks/kpir/posttypes/invoice.php:
    392392msgid "Invoice description"
    393393msgstr ""
    394394
    395 #: includes/iworks/kpir/posttypes/invoice.php:195
    396 #: includes/iworks/kpir/posttypes/invoice.php:691
     395#: includes/iworks/kpir/posttypes/invoice.php:
     396#: includes/iworks/kpir/posttypes/invoice.php:1
    397397msgid "Income"
    398398msgstr ""
    399399
    400 #: includes/iworks/kpir/posttypes/invoice.php:198
    401 #: includes/iworks/kpir/posttypes/invoice.php:690
     400#: includes/iworks/kpir/posttypes/invoice.php:
     401#: includes/iworks/kpir/posttypes/invoice.php:0
    402402msgid "Expense"
    403403msgstr ""
    404404
    405 #: includes/iworks/kpir/posttypes/invoice.php:201
     405#: includes/iworks/kpir/posttypes/invoice.php:2
    406406msgid "Salary"
    407407msgstr ""
    408408
    409 #: includes/iworks/kpir/posttypes/invoice.php:204
     409#: includes/iworks/kpir/posttypes/invoice.php:2
    410410msgid "Asset"
    411411msgstr ""
    412412
    413 #: includes/iworks/kpir/posttypes/invoice.php:207
     413#: includes/iworks/kpir/posttypes/invoice.php:2
    414414msgid "Insurance"
    415415msgstr ""
    416416
    417 #: includes/iworks/kpir/posttypes/invoice.php:212
     417#: includes/iworks/kpir/posttypes/invoice.php:2
    418418msgid "Type"
    419419msgstr ""
    420420
    421 #: includes/iworks/kpir/posttypes/invoice.php:219
    422 #: includes/iworks/kpir/posttypes/invoice.php:257
     421#: includes/iworks/kpir/posttypes/invoice.php:2
     422#: includes/iworks/kpir/posttypes/invoice.php:2
    423423msgid "Please first choose invoice type."
    424424msgstr ""
    425425
    426 #: includes/iworks/kpir/posttypes/invoice.php:225
     426#: includes/iworks/kpir/posttypes/invoice.php:2
    427427msgid "Value of goods and services sold"
    428428msgstr ""
    429429
    430 #: includes/iworks/kpir/posttypes/invoice.php:229
     430#: includes/iworks/kpir/posttypes/invoice.php:2
    431431msgid "Other income"
    432432msgstr ""
    433433
    434 #: includes/iworks/kpir/posttypes/invoice.php:233
    435 #: includes/iworks/kpir/posttypes/invoice.php:275
     434#: includes/iworks/kpir/posttypes/invoice.php:2
     435#: includes/iworks/kpir/posttypes/invoice.php:2
    436436msgid "VAT"
    437437msgstr ""
    438438
    439 #: includes/iworks/kpir/posttypes/invoice.php:240
     439#: includes/iworks/kpir/posttypes/invoice.php:2
    440440msgid ""
    441441"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    443443msgstr ""
    444444
    445 #: includes/iworks/kpir/posttypes/invoice.php:243
     445#: includes/iworks/kpir/posttypes/invoice.php:2
    446446msgid ""
    447447"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    449449msgstr ""
    450450
    451 #: includes/iworks/kpir/posttypes/invoice.php:246
     451#: includes/iworks/kpir/posttypes/invoice.php:2
    452452msgid ""
    453453"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    456456msgstr ""
    457457
    458 #: includes/iworks/kpir/posttypes/invoice.php:263
     458#: includes/iworks/kpir/posttypes/invoice.php:2
    459459msgid ""
    460460"The purchase of commercial goods and materials, according to the purchase "
     
    462462msgstr ""
    463463
    464 #: includes/iworks/kpir/posttypes/invoice.php:267
     464#: includes/iworks/kpir/posttypes/invoice.php:2
    465465msgid "Incidental costs of purchase"
    466466msgstr ""
    467467
    468 #: includes/iworks/kpir/posttypes/invoice.php:271
     468#: includes/iworks/kpir/posttypes/invoice.php:2
    469469msgid "Other expenses"
    470470msgstr ""
    471471
    472 #: includes/iworks/kpir/posttypes/invoice.php:279
     472#: includes/iworks/kpir/posttypes/invoice.php:2
    473473msgid "VAT rate"
    474474msgstr ""
    475475
    476 #: includes/iworks/kpir/posttypes/invoice.php:284
     476#: includes/iworks/kpir/posttypes/invoice.php:
    477477msgid "Base 23%"
    478478msgstr ""
    479479
    480 #: includes/iworks/kpir/posttypes/invoice.php:287
     480#: includes/iworks/kpir/posttypes/invoice.php:
    481481msgid "8%"
    482482msgstr ""
    483483
    484 #: includes/iworks/kpir/posttypes/invoice.php:290
     484#: includes/iworks/kpir/posttypes/invoice.php:
    485485msgid "5%"
    486486msgstr ""
    487487
    488 #: includes/iworks/kpir/posttypes/invoice.php:293
     488#: includes/iworks/kpir/posttypes/invoice.php:
    489489msgid "0%"
    490490msgstr ""
    491491
    492 #: includes/iworks/kpir/posttypes/invoice.php:296
     492#: includes/iworks/kpir/posttypes/invoice.php:
    493493msgid "No VAT"
    494494msgstr ""
    495495
    496 #: includes/iworks/kpir/posttypes/invoice.php:304
     496#: includes/iworks/kpir/posttypes/invoice.php:3
    497497msgid "Car related"
    498498msgstr ""
    499499
    500 #: includes/iworks/kpir/posttypes/invoice.php:305
     500#: includes/iworks/kpir/posttypes/invoice.php:3
    501501msgid "It will be calculated as half VAT return."
    502502msgstr ""
    503503
    504 #: includes/iworks/kpir/posttypes/invoice.php:310
     504#: includes/iworks/kpir/posttypes/invoice.php:3
    505505msgid "100%"
    506506msgstr ""
    507507
    508 #: includes/iworks/kpir/posttypes/invoice.php:313
     508#: includes/iworks/kpir/posttypes/invoice.php:3
    509509msgid "75%"
    510510msgstr ""
    511511
    512 #: includes/iworks/kpir/posttypes/invoice.php:316
     512#: includes/iworks/kpir/posttypes/invoice.php:3
    513513msgid "20%"
    514514msgstr ""
    515515
    516 #: includes/iworks/kpir/posttypes/invoice.php:319
     516#: includes/iworks/kpir/posttypes/invoice.php:3
    517517msgid "Yes (before 2019)"
    518518msgstr ""
    519519
    520 #: includes/iworks/kpir/posttypes/invoice.php:322
     520#: includes/iworks/kpir/posttypes/invoice.php:3
    521521msgid "No"
    522522msgstr ""
    523523
    524 #: includes/iworks/kpir/posttypes/invoice.php:332
     524#: includes/iworks/kpir/posttypes/invoice.php:3
    525525msgid "Salary in cash and in kind"
    526526msgstr ""
    527527
    528 #: includes/iworks/kpir/posttypes/invoice.php:338
     528#: includes/iworks/kpir/posttypes/invoice.php:3
    529529msgid "Depreciation of asset"
    530530msgstr ""
    531531
    532 #: includes/iworks/kpir/posttypes/invoice.php:344
     532#: includes/iworks/kpir/posttypes/invoice.php:3
    533533msgid "ZUS 51"
    534534msgstr ""
    535535
    536 #: includes/iworks/kpir/posttypes/invoice.php:348
     536#: includes/iworks/kpir/posttypes/invoice.php:3
    537537msgid "ZUS 52"
    538538msgstr ""
    539539
    540 #: includes/iworks/kpir/posttypes/invoice.php:352
     540#: includes/iworks/kpir/posttypes/invoice.php:3
    541541msgid "ZUS 53"
    542542msgstr ""
     
    546546msgstr ""
    547547
    548 #: includes/iworks/kpir/posttypes/invoice.php:378
    549 #: includes/iworks/kpir/posttypes/invoice.php:404
     548#: includes/iworks/kpir/posttypes/invoice.php:
     549#: includes/iworks/kpir/posttypes/invoice.php:4
    550550msgid "Invoice"
    551551msgstr ""
    552552
    553 #: includes/iworks/kpir/posttypes/invoice.php:379
     553#: includes/iworks/kpir/posttypes/invoice.php:
    554554msgid "Invoice Archives"
    555555msgstr ""
    556556
    557 #: includes/iworks/kpir/posttypes/invoice.php:380
     557#: includes/iworks/kpir/posttypes/invoice.php:
    558558msgid "Invoice Attributes"
    559559msgstr ""
    560560
    561 #: includes/iworks/kpir/posttypes/invoice.php:381
     561#: includes/iworks/kpir/posttypes/invoice.php:
    562562msgid "Parent Invoice:"
    563563msgstr ""
    564564
    565 #: includes/iworks/kpir/posttypes/invoice.php:382
     565#: includes/iworks/kpir/posttypes/invoice.php:
    566566msgid "All Invoices"
    567567msgstr ""
    568568
    569 #: includes/iworks/kpir/posttypes/invoice.php:383
     569#: includes/iworks/kpir/posttypes/invoice.php:
    570570msgid "Add New Invoice"
    571571msgstr ""
    572572
    573 #: includes/iworks/kpir/posttypes/invoice.php:385
     573#: includes/iworks/kpir/posttypes/invoice.php:
    574574msgid "New Invoice"
    575575msgstr ""
    576576
    577 #: includes/iworks/kpir/posttypes/invoice.php:386
     577#: includes/iworks/kpir/posttypes/invoice.php:
    578578msgid "Edit Invoice"
    579579msgstr ""
    580580
    581 #: includes/iworks/kpir/posttypes/invoice.php:387
     581#: includes/iworks/kpir/posttypes/invoice.php:
    582582msgid "Update Invoice"
    583583msgstr ""
    584584
    585 #: includes/iworks/kpir/posttypes/invoice.php:388
     585#: includes/iworks/kpir/posttypes/invoice.php:
    586586msgid "View Invoice"
    587587msgstr ""
    588588
    589 #: includes/iworks/kpir/posttypes/invoice.php:389
     589#: includes/iworks/kpir/posttypes/invoice.php:
    590590msgid "View Invoices"
    591591msgstr ""
    592592
    593 #: includes/iworks/kpir/posttypes/invoice.php:390
     593#: includes/iworks/kpir/posttypes/invoice.php:
    594594msgid "Search Invoice"
    595595msgstr ""
    596596
    597 #: includes/iworks/kpir/posttypes/invoice.php:397
     597#: includes/iworks/kpir/posttypes/invoice.php:
    598598msgid "Insert into invoice"
    599599msgstr ""
    600600
    601 #: includes/iworks/kpir/posttypes/invoice.php:398
     601#: includes/iworks/kpir/posttypes/invoice.php:
    602602msgid "Uploaded to this invoice"
    603603msgstr ""
    604604
    605 #: includes/iworks/kpir/posttypes/invoice.php:399
     605#: includes/iworks/kpir/posttypes/invoice.php:
    606606msgid "Invoices list"
    607607msgstr ""
    608608
    609 #: includes/iworks/kpir/posttypes/invoice.php:400
     609#: includes/iworks/kpir/posttypes/invoice.php:4
    610610msgid "Invoices list navigation"
    611611msgstr ""
    612612
    613 #: includes/iworks/kpir/posttypes/invoice.php:401
     613#: includes/iworks/kpir/posttypes/invoice.php:4
    614614msgid "Filter invoices list"
    615615msgstr ""
    616616
    617 #: includes/iworks/kpir/posttypes/invoice.php:405
     617#: includes/iworks/kpir/posttypes/invoice.php:4
    618618msgid "Invoice Description"
    619619msgstr ""
    620620
    621 #: includes/iworks/kpir/posttypes/invoice.php:437
     621#: includes/iworks/kpir/posttypes/invoice.php:4
    622622msgid "Enter invoice number"
    623623msgstr ""
    624624
    625 #: includes/iworks/kpir/posttypes/invoice.php:443
     625#: includes/iworks/kpir/posttypes/invoice.php:
    626626msgid "Basic Data"
    627627msgstr ""
    628628
    629 #: includes/iworks/kpir/posttypes/invoice.php:444
    630 #: includes/iworks/kpir/posttypes/invoice.php:549
     629#: includes/iworks/kpir/posttypes/invoice.php:
     630#: includes/iworks/kpir/posttypes/invoice.php:
    631631msgid "Incomes"
    632632msgstr ""
    633633
    634 #: includes/iworks/kpir/posttypes/invoice.php:445
     634#: includes/iworks/kpir/posttypes/invoice.php:
    635635msgid "Expenses (costs)"
    636636msgstr ""
    637637
    638 #: includes/iworks/kpir/posttypes/invoice.php:446
    639 #: includes/iworks/kpir/posttypes/invoice.php:555
     638#: includes/iworks/kpir/posttypes/invoice.php:
     639#: includes/iworks/kpir/posttypes/invoice.php:
    640640msgid "Salaries"
    641641msgstr ""
    642642
    643 #: includes/iworks/kpir/posttypes/invoice.php:447
     643#: includes/iworks/kpir/posttypes/invoice.php:
    644644msgid "Assets"
    645645msgstr ""
    646646
    647 #: includes/iworks/kpir/posttypes/invoice.php:448
     647#: includes/iworks/kpir/posttypes/invoice.php:
    648648msgid "Insurances (ZUS)"
    649649msgstr ""
    650650
    651 #: includes/iworks/kpir/posttypes/invoice.php:550
     651#: includes/iworks/kpir/posttypes/invoice.php:
    652652msgid "Expenses"
    653653msgstr ""
    654654
    655 #: includes/iworks/kpir/posttypes/invoice.php:551
     655#: includes/iworks/kpir/posttypes/invoice.php:
    656656msgid "Expenses (VAT)"
    657657msgstr ""
    658658
    659 #: includes/iworks/kpir/posttypes/invoice.php:552
     659#: includes/iworks/kpir/posttypes/invoice.php:
    660660msgid "VAT (Income) "
    661661msgstr ""
    662662
    663 #: includes/iworks/kpir/posttypes/invoice.php:553
     663#: includes/iworks/kpir/posttypes/invoice.php:
    664664msgid "VAT (Expense)"
    665665msgstr ""
    666666
    667 #: includes/iworks/kpir/posttypes/invoice.php:554
     667#: includes/iworks/kpir/posttypes/invoice.php:
    668668msgid "VAT (zero)"
    669669msgstr ""
    670670
    671 #: includes/iworks/kpir/posttypes/invoice.php:556
     671#: includes/iworks/kpir/posttypes/invoice.php:
    672672msgid "Depreciation of assets"
    673673msgstr ""
    674674
    675 #: includes/iworks/kpir/posttypes/invoice.php:650
     675#: includes/iworks/kpir/posttypes/invoice.php:0
    676676msgid "&mdash; not paid yet &mdash;"
    677677msgstr ""
    678678
    679 #: includes/iworks/kpir/posttypes/invoice.php:684
     679#: includes/iworks/kpir/posttypes/invoice.php:4
    680680msgid "Date of invoice"
    681681msgstr ""
    682682
    683 #: includes/iworks/kpir/posttypes/invoice.php:686
     683#: includes/iworks/kpir/posttypes/invoice.php:6
    684684msgid "Payment Date"
    685685msgstr ""
    686686
    687 #: includes/iworks/kpir/posttypes/invoice.php:689
     687#: includes/iworks/kpir/posttypes/invoice.php:9
    688688msgid "Description"
    689689msgstr ""
    690690
    691 #: includes/iworks/kpir/posttypes/invoice.php:692
     691#: includes/iworks/kpir/posttypes/invoice.php:2
    692692msgid "Invoice Number"
    693693msgstr ""
     
    719719msgstr ""
    720720
    721 #: includes/iworks/options/options.php:176
     721#: includes/iworks/options/options.php:17
    722722msgid "No Page Title"
    723723msgstr ""
    724724
    725 #: includes/iworks/options/options.php:341
     725#: includes/iworks/options/options.php:34
    726726msgid "An error occurred while getting the configuration."
    727727msgstr ""
    728728
    729 #: includes/iworks/options/options.php:920
    730 #: includes/iworks/options/options.php:2383
     729#: includes/iworks/options/options.php:9
     730#: includes/iworks/options/options.php:2
    731731msgid "Select Image"
    732732msgstr ""
    733733
    734 #: includes/iworks/options/options.php:925
     734#: includes/iworks/options/options.php:92
    735735msgid "Delete image"
    736736msgstr ""
    737737
    738 #: includes/iworks/options/options.php:1033
     738#: includes/iworks/options/options.php:103
    739739msgid "Save Changes"
    740740msgstr ""
    741741
    742 #: includes/iworks/options/options.php:2258
     742#: includes/iworks/options/options.php:2
    743743msgid "Street"
    744744msgstr ""
    745745
    746 #: includes/iworks/options/options.php:2259
     746#: includes/iworks/options/options.php:2
    747747msgid "ZIP code"
    748748msgstr ""
    749749
    750 #: includes/iworks/options/options.php:2443
     750#: includes/iworks/options/options.php:2
    751751msgid "OFF"
    752752msgstr ""
    753753
    754 #: includes/iworks/options/options.php:2444
     754#: includes/iworks/options/options.php:2
    755755msgid "ON"
    756756msgstr ""
    757757
    758 #: includes/iworks/options/options.php:2509
     758#: includes/iworks/options/options.php:2
    759759msgid "Failed Security Check"
    760760msgstr ""
     
    777777
    778778#. Description of the plugin/theme
    779 msgid "Podatkowa Księga Przychodu i Rozchodu"
     779msgid ""
    780780msgstr ""
    781781
     
    803803msgstr ""
    804804
    805 #: includes/iworks/kpir/posttypes/invoice.php:375
     805#: includes/iworks/kpir/posttypes/invoice.php:
    806806msgctxt "Invoice General Name"
    807807msgid "Invoices"
    808808msgstr ""
    809809
    810 #: includes/iworks/kpir/posttypes/invoice.php:376
     810#: includes/iworks/kpir/posttypes/invoice.php:
    811811msgctxt "Invoice Singular Name"
    812812msgid "Invoice"
  • kpir/trunk/readme.txt

    r3317412 r3466277  
    55Requires at least: 6.0
    66Tested up to: 6.8
    7 Stable tag: 1.1.2
     7Stable tag: 1.1.
    88Requires PHP: 8.0
    99License: GPLv3 or later
     
    6464Project maintained on GitHub at [iworks/kpir](https://github.com/iworks/kpir).
    6565
     66
     67
     68
     69
    6670= 1.1.2 - 2025-06-25 =
    6771* Fixed issue with `use cash pit` option.
    6872
    6973= 1.1.1 - 2025-06-20 =
    70 * Added `filter_add_sortable_columns`, `apply_filter_order_date_of_payment`, `get_custom_field_basic_type_name` methods to invoice post type.   
     74* Added `filter_add_sortable_columns`, `apply_filter_order_date_of_payment`, `get_custom_field_basic_type_name` methods to invoice post type.
    7175* Added sort by payment date.
    7276* Added `use_cash_pit` property and `action_init_set_options()` method; constructor hook adjusted.
  • kpir/trunk/template-parts/jpk/v7m-2/xml/head.php

    r3317373 r3466277  
    33    <tns:WariantFormularza>2</tns:WariantFormularza>
    44    <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK>
    5     <tns:NazwaSystemu>KPiR 1.1.2</tns:NazwaSystemu>
     5    <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu>
    66    <tns:CelZlozenia poz="P_7"><?php echo $args['purpose']; ?></tns:CelZlozenia>
    77    <tns:KodUrzedu><?php echo $args['taxpayer']['department_of_revenue']; ?></tns:KodUrzedu>
  • kpir/trunk/template-parts/jpk/v7m/xml/head.php

    r3317373 r3466277  
    33    <tns:WariantFormularza>1</tns:WariantFormularza>
    44    <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK>
    5     <tns:NazwaSystemu>KPiR 1.1.2</tns:NazwaSystemu>
     5    <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu>
    66    <tns:CelZlozenia poz="P_7"><?php echo $args['purpose']; ?></tns:CelZlozenia>
    77    <tns:KodUrzedu><?php echo $args['taxpayer']['department_of_revenue']; ?></tns:KodUrzedu>
Note: See TracChangeset for help on using the changeset viewer.