Plugin Directory

Changeset 3489863


Ignore:
Timestamp:
03/24/2026 10:30:11 AM (4 days ago)
Author:
iworks
Message:

1.2.0

Location:
kpir
Files:
243 added
3 deleted
20 edited

Legend:

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

    r3487327 r3489863  
    1 /*! Księga Przychodi i Rozchodu - v1.1.4
     1/*! Księga Przychodi i Rozchodu - v1.2.0
    22 * http://iworks.pl/
    33 * Copyright (c) 2026
  • kpir/trunk/assets/scripts/admin/kpir.min.js

    r3244938 r3489863  
    1 /*! Księga Przychodi i Rozchodu - v1.0.2
     1/*! Księga Przychodi i Rozchodu - v1.2.0
    22 * http://iworks.pl/
    3  * Copyright (c) 2025; * Licensed GPL-3.0 */
    4 
    5 jQuery(document).ready(function(a){a(function(){a(".iworks-kpir-row .datepicker").datepicker({showOtherMonths:!0,selectOtherMonths:!0,dateFormat:"dd-mm-yy"})})});var iWorksKPiR={};!function(a){iWorksKPiR.ShowMetaBoxes=function(){var b=a("#basic .iworks-kpir-row-type input[type=radio]:checked").val();a(".iworks-type").addClass("closed").hide(),a("body").removeClass("kpir-not-set"),a(".iworks-type").each(function(){a("body").removeClass(a(this).attr("id"))}),void 0===b?a("body").addClass("kpir-not-set"):(a("#"+b).removeClass("closed").show(),a("body").addClass(b),a("#asset-"+b).prop("checked",!0),"salary"===b&&(a("#asset-expense").prop("checked",!0),a("#expense").removeClass("closed").show()))},iWorksKPiR.BindDuplicate=function(){a(".duplicate-invoice-link").on("click",function(b){var c;b.stopImmediatePropagation(),b.preventDefault();var d=a(this),e=d.parents("tr").first();window.confirm(iworks_kpir.messages.duplicate_confirm)&&(c={action:"kpir_duplicate_invoice",nonce:a(this).attr("data-nonce"),ID:a(this).attr("data-id")},e.addClass("duplicating"),jQuery.post(ajaxurl,c,function(b){b.success?window.location.reload():(html='<div class="notice notice-error"><p>'+iworks_kpir.messages.duplicate_error+"</p></div>",a(".wp-header-end").after(html))}))})},iWorksKPiR.CopyDateOfIssueToEventDate=function(){jQuery("#iworks_kpir_basic_date").val(jQuery("#iworks_kpir_basic_date_of_issue").val())},a(document).ready(iWorksKPiR.ShowMetaBoxes).ready(iWorksKPiR.BindDuplicate).on("change","#basic .iworks-kpir-row-type input[type=radio]",iWorksKPiR.ShowMetaBoxes).on("click","#basic #kpir-copy-date-button",iWorksKPiR.CopyDateOfIssueToEventDate)}(jQuery),function(a){iWorksKPiR.JPK_VAT=function(){var b=a("form#kpir-jpk-vat-3");if("-"==a('select[name="m"]',b).val())return alert(iworks_kpir.messages.jpk.vat.select_month),!1},a(document).on("submit","form#kpir-jpk-vat-3",iWorksKPiR.JPK_VAT)}(jQuery),jQuery(document).ready(function(a){function b(a){if(a.loading)return a.text;var b="<div class='select2-result-contractor clearfix'><div class='select2-result-contractor__meta'><div class='select2-result-contractor__title'>"+a.full_name+"</div>";return a.description&&(b+="<div class='select2-result-contractor__description'>"+a.description+"</div>"),a.nip&&(b+="<div class='select2-result-contractor__nip'>"+a.nip+"</div>"),b+="</div></div>"}function c(a){return a.full_name||a.text}a("select[name=contractor]").select2(),a(".iworks-kpir-row .select2").select2({ajax:{url:ajaxurl,dataType:"json",delay:250,data:function(b){return{q:b.term,page:b.page,action:"iworks_get_contractors",_wpnonce:a(this).data("nonce")}},processResults:function(a,b){return b.page=b.page||1,{results:a.items,pagination:{more:30*b.page<a.total_count}}},cache:!0},escapeMarkup:function(a){return a},minimumInputLength:1,templateResult:b,templateSelection:c})});
     3 * Copyright (c) 2026;
     4 * Licensed GPL-3.0 */
     5jQuery(document).ready(function(a){a(function(){a(".iworks-kpir-row .datepicker").datepicker({showOtherMonths:!0,selectOtherMonths:!0,dateFormat:"dd-mm-yy"})})});var iWorksKPiR={};!function(a){iWorksKPiR.ShowMetaBoxes=function(){var b=a("#basic .iworks-kpir-row-type input[type=radio]:checked").val();a(".iworks-type").addClass("closed").hide(),a("body").removeClass("kpir-not-set"),a(".iworks-type").each(function(){a("body").removeClass(a(this).attr("id"))}),"undefined"==typeof b?a("body").addClass("kpir-not-set"):(a("#"+b).removeClass("closed").show(),a("body").addClass(b),a("#asset-"+b).prop("checked",!0),"salary"===b&&(a("#asset-expense").prop("checked",!0),a("#expense").removeClass("closed").show()))},iWorksKPiR.BindDuplicate=function(){a(".duplicate-invoice-link").on("click",function(b){var c;b.stopImmediatePropagation(),b.preventDefault();var d=a(this),e=d.parents("tr").first();window.confirm(iworks_kpir.messages.duplicate_confirm)&&(c={action:"kpir_duplicate_invoice",nonce:a(this).attr("data-nonce"),ID:a(this).attr("data-id")},e.addClass("duplicating"),jQuery.post(ajaxurl,c,function(b){b.success?window.location.reload():(html='<div class="notice notice-error"><p>'+iworks_kpir.messages.duplicate_error+"</p></div>",a(".wp-header-end").after(html))}))})},iWorksKPiR.CopyDateOfIssueToEventDate=function(){jQuery("#iworks_kpir_basic_date").val(jQuery("#iworks_kpir_basic_date_of_issue").val())},a(document).ready(iWorksKPiR.ShowMetaBoxes).ready(iWorksKPiR.BindDuplicate).on("change","#basic .iworks-kpir-row-type input[type=radio]",iWorksKPiR.ShowMetaBoxes).on("click","#basic #kpir-copy-date-button",iWorksKPiR.CopyDateOfIssueToEventDate)}(jQuery),function(a){iWorksKPiR.JPK_VAT=function(){var b=a("form#kpir-jpk-vat-3"),c=a('select[name="m"]',b).val();if("-"==c)return alert(iworks_kpir.messages.jpk.vat.select_month),!1},a(document).on("submit","form#kpir-jpk-vat-3",iWorksKPiR.JPK_VAT)}(jQuery),jQuery(document).ready(function(a){function b(a){if(a.loading)return a.text;var b="<div class='select2-result-contractor clearfix'><div class='select2-result-contractor__meta'><div class='select2-result-contractor__title'>"+a.full_name+"</div>";return a.description&&(b+="<div class='select2-result-contractor__description'>"+a.description+"</div>"),a.nip&&(b+="<div class='select2-result-contractor__nip'>"+a.nip+"</div>"),b+="</div></div>"}function c(a){return a.full_name||a.text}a("select[name=contractor]").select2(),a(".iworks-kpir-row .select2").select2({ajax:{url:ajaxurl,dataType:"json",delay:250,data:function(b){return{q:b.term,page:b.page,action:"iworks_get_contractors",_wpnonce:a(this).data("nonce")}},processResults:function(a,b){return b.page=b.page||1,{results:a.items,pagination:{more:30*b.page<a.total_count}}},cache:!0},escapeMarkup:function(a){return a},minimumInputLength:1,templateResult:b,templateSelection:c})});
  • kpir/trunk/assets/styles/admin/reports.css

    r1824104 r3489863  
    22  border-collapse: collapse;
    33}
    4 .kpir-report td, .kpir-report th {
     4.kpir-report td,
     5.kpir-report th {
    56  padding: 5px;
    67  border: 1px solid #000;
     
    1213  width: 3em;
    1314}
     15.kpir-report td.vat-passed {
     16  background-color: #00701730;
     17}
     18.kpir-report td.vat-failed {
     19  background-color: #d6363830;
     20}
    1421.kpir-report tr:nth-child(even) td {
    1522  background-color: #ddd;
    1623}
     24.kpir-report tr:nth-child(even) td.vat-passed {
     25  background-color: #00701750;
     26}
     27.kpir-report tr:nth-child(even) td.vat-failed {
     28  background-color: #d6363850;
     29}
  • kpir/trunk/assets/styles/kpir-admin.css

    r3315349 r3489863  
    7575  border-collapse: collapse;
    7676}
    77 .kpir-report td, .kpir-report th {
     77.kpir-report td,
     78.kpir-report th {
    7879  padding: 5px;
    7980  border: 1px solid #000;
     
    8586  width: 3em;
    8687}
     88.kpir-report td.vat-passed {
     89  background-color: #00701730;
     90}
     91.kpir-report td.vat-failed {
     92  background-color: #d6363830;
     93}
    8794.kpir-report tr:nth-child(even) td {
    8895  background-color: #ddd;
     96}
     97.kpir-report tr:nth-child(even) td.vat-passed {
     98  background-color: #00701750;
     99}
     100.kpir-report tr:nth-child(even) td.vat-failed {
     101  background-color: #d6363850;
    89102}
    90103#dashboard-widgets #current_month table,
  • kpir/trunk/assets/styles/kpir-admin.min.css

    r3315349 r3489863  
    1 .iworks-kpir-row{display:grid;grid-template-columns:10em auto;gap:1em;margin:1em 0}.iworks-kpir-row label{width:100px}.iworks-kpir-row .select2{min-width:200px;width:100%}#expense .iworks-kpir-row,#income .iworks-kpir-row{display:block}#expense .iworks-kpir-row label,#income .iworks-kpir-row label{display:block;width:100%}.wp-list-table tbody .column-expense,.wp-list-table tbody .column-income,.wp-list-table tbody .column-symbol{text-align:right}.wp-list-table tbody .column-expense,.wp-list-table tbody .column-income{padding-right:10px}.wp-list-table .column-contractor,.wp-list-table .column-title{width:15em}.wp-list-table .column-expense,.wp-list-table .column-income{width:5em}.wp-list-table .column-date_of_invoice,.wp-list-table .column-date_of_payment{width:10em}.wp-list-table .column-symbol{width:1em}.wp-list-table .duplicate_invoice a{cursor:pointer}body:not(.kpir-not-set) .iworks-type .iworks-kpir-row-description{display:none}body.kpir-not-set .iworks-type .iworks-kpir-row{display:none}body.kpir-not-set .iworks-type .iworks-kpir-row-description{display:block}body.income .iworks-type:not(#income){display:none}body.expense .iworks-type:not(#expense){display:none}body.salary .iworks-type:not(#salary){display:none}body.asset .iworks-type:not(#asset){display:none}body.insurance .iworks-type:not(#insurance){display:none}.kpir-report{border-collapse:collapse}.kpir-report td,.kpir-report th{padding:5px;border:1px solid #000}.kpir-report td.money{font-family:monospace;padding:0 5px;text-align:right;width:3em}.kpir-report tr:nth-child(even) td{background-color:#ddd}#dashboard-widgets #current_month table,#dashboard-widgets #past_month table{width:100%;background-color:#fff}#dashboard-widgets #current_month table td,#dashboard-widgets #past_month table td{padding:5px}
     1.iworks-kpir-row{display:grid;grid-template-columns:10em auto;gap:1em;margin:1em 0}.iworks-kpir-row label{width:100px}.iworks-kpir-row .select2{min-width:200px;width:100%}#expense .iworks-kpir-row,#income .iworks-kpir-row{display:block}#expense .iworks-kpir-row label,#income .iworks-kpir-row label{display:block;width:100%}.wp-list-table tbody .column-expense,.wp-list-table tbody .column-income,.wp-list-table tbody .column-symbol{text-align:right}.wp-list-table tbody .column-expense,.wp-list-table tbody .column-income{padding-right:10px}.wp-list-table .column-contractor,.wp-list-table .column-title{width:15em}.wp-list-table .column-expense,.wp-list-table .column-income{width:5em}.wp-list-table .column-date_of_invoice,.wp-list-table .column-date_of_payment{width:10em}.wp-list-table .column-symbol{width:1em}.wp-list-table .duplicate_invoice a{cursor:pointer}body:not(.kpir-not-set) .iworks-type .iworks-kpir-row-description{display:none}body.kpir-not-set .iworks-type .iworks-kpir-row{display:none}body.kpir-not-set .iworks-type .iworks-kpir-row-description{display:block}body.income .iworks-type:not(#income){display:none}body.expense .iworks-type:not(#expense){display:none}body.salary .iworks-type:not(#salary){display:none}body.asset .iworks-type:not(#asset){display:none}body.insurance .iworks-type:not(#insurance){display:none}.kpir-report{border-collapse:collapse}.kpir-report td,.kpir-report th{padding:5px;border:1px solid #000}.kpir-report td.money{font-family:monospace;padding:0 5px;text-align:right;width:3em}.kpir-report td.vat-passed{background-color:#00701730}.kpir-report td.vat-failed{background-color:#d6363830}.kpir-report tr:nth-child(even) td{background-color:#ddd}.kpir-report tr:nth-child(even) td.vat-passed{background-color:#00701750}.kpir-report tr:nth-child(even) td.vat-failed{background-color:#d6363850}#dashboard-widgets #current_month table,#dashboard-widgets #past_month table{width:100%;background-color:#fff}#dashboard-widgets #current_month table td,#dashboard-widgets #past_month table td{padding:5px}
  • kpir/trunk/assets/styles/src/admin/reports.scss

    r1824104 r3489863  
    11.kpir-report {
    2     border-collapse: collapse;
    3     td, th {
    4         padding: 5px;
    5         border: 1px solid #000;
    6     }
    7     td {
    8         &.money {
    9             font-family: monospace;
    10             padding: 0 5px;
    11             text-align: right;
    12             width: 3em;
    13         }
    14     }
    15     tr {
    16         &:nth-child(even) {
    17             td {
    18                 background-color: #ddd;
    19             }
    20         }
    21     }
     2    border-collapse: collapse;
     3
     4    td,
     5    th {
     6        padding: 5px;
     7        border: 1px solid #000;
     8    }
     9
     10    td {
     11        &.money {
     12            font-family: monospace;
     13            padding: 0 5px;
     14            text-align: right;
     15            width: 3em;
     16        }
     17
     18        &.vat {
     19            &-passed {
     20                background-color: #00701730;
     21            }
     22
     23            &-failed {
     24                background-color: #d6363830;
     25
     26            }
     27        }
     28    }
     29
     30    tr {
     31        &:nth-child(even) {
     32            td {
     33                background-color: #ddd;
     34
     35                &.vat {
     36                    &-passed {
     37                        background-color: #00701750;
     38                    }
     39
     40                    &-failed {
     41                        background-color: #d6363850;
     42
     43                    }
     44                }
     45            }
     46        }
     47    }
    2248}
    23 
  • kpir/trunk/etc/options.php

    r3290322 r3489863  
    2525            ),
    2626            array(
     27                'name'              => 'taxpayer_type',
     28                'type'              => 'radio',
     29                'class'             => 'regular-text',
     30                'th'                => __( 'Taxpayer Type', 'kpir' ),
     31                'sanitize_callback' => 'esc_html',
     32                'options' => array(
     33                    'person' => array(
     34                        'label' => __( 'Person', 'kpir' ),
     35                    ),
     36                    'company' => array(
     37                        'label' => __( 'Company', 'kpir' ),
     38                    ),
     39                ),
     40                'default' => 'person',
     41                'since' => '1.2.0',
     42            ),
     43            array(
    2744                'name'              => 'name',
    2845                'type'              => 'text',
     
    83100                'classes'           => array( 'switch-button' ),
    84101                'since'             => '1.1.0',
     102            ),
     103            array(
     104                'name'              => 'check_vat_on_monothly',
     105                'type'              => 'checkbox',
     106                'sanitize_callback' => 'intval',
     107                'default'           => 0,
     108                'th'                => esc_html__( 'Check VAT on Monthly Report', 'kpir' ),
     109                'description'       => esc_html__( 'Simple check VAT on Monthly Report as netto sum multiple basic rate.', 'kpir' ),
     110                'classes'           => array( 'switch-button' ),
     111                'since'             => '1.2.0',
    85112            ),
    86113        ),
  • kpir/trunk/includes/iworks/class-kpir.php

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

    r3487327 r3489863  
    186186     */
    187187    protected function is_person() {
    188         return false;
     188        return get_option( $this->options->get_option_name( 'taxpayer_type' ) ) === 'person';
    189189    }
    190190
     
    317317            $this->sum['vat_expense']['fractional'] += intval( $vat['fractional'] );
    318318        }
     319        /**
     320         * Krajowy System e-Faktur
     321         * KSeF number
     322         *
     323         * @since 1.1.16
     324         */
     325        $data['ksef_number'] = $this->get_ksef_number( $ID );
    319326        return $data;
    320327    }
     
    367374                break;
    368375        }
     376        /**
     377         * Krajowy System e-Faktur
     378         * KSeF number
     379         *
     380         * @since 1.1.16
     381         */
     382        $data['ksef_number'] = $this->get_ksef_number( $ID );
    369383        return $data;
    370384    }
     
    387401        return $money;
    388402    }
     403
     404    /**
     405     * Get KSeF number for invoice.
     406     * Krajowy System e-Faktur
     407     *
     408     * @param int $ID Invoice ID.
     409     * @return string KSeF number.
     410     */
     411    private function get_ksef_number( $ID ) {
     412        $value = get_post_meta( $ID, 'iworks_kpir_basic_ksef_number', true );
     413        if ( empty( $value ) ) {
     414            $value = get_post_meta( $ID, 'iworks_kpir_basic_ksef_type', true );
     415        }
     416        if ( empty( $value ) ) {
     417            $value = 'OFF';
     418        }
     419        return $value;
     420    }
    389421}
    390422
  • kpir/trunk/includes/iworks/kpir/jpk/v7m.php

    r3487327 r3489863  
    116116         */
    117117        $template = 'jpk/v7m/xml';
     118        /**
     119         * JPK V7M-2 from 2021
     120         */
    118121        if ( 2021 < intval( preg_replace( '/\-.+$/', '', $year_month ) ) ) {
    119122            $template = 'jpk/v7m-2/xml';
     123        }
     124        /**
     125         * JPK V7M-3 from 2026-2
     126         *
     127         * @since 1.2.0
     128         */
     129        if (
     130            2025 < intval( preg_replace( '/\-.+$/', '', $year_month ) )
     131            && 1 < intval( preg_replace( '/^.+\-/', '', $year_month ) )
     132        ) {
     133            $template = 'jpk/v7m-3/xml';
    120134        }
    121135        /**
     
    398412        }
    399413        $this->get_template( $template, 'summary', $args );
    400         echo '<tns:Ewidencja>';
     414        /**
     415         * Start evidence
     416         */
     417        $this->get_template( $template, 'evidence-start', $args );
    401418        /**
    402419         * income
     
    437454            $this->get_template( $template, 'expenses-summary', $atts );
    438455        }
    439         echo '</tns:Ewidencja>';
     456        /**
     457         * End evidence
     458         */
     459        $this->get_template( $template, 'evidence-end', $args );
     460        /**
     461         * Footer
     462         */
    440463        $this->get_template( $template, 'footer', $args );
    441464        /**
  • kpir/trunk/includes/iworks/kpir/jpk/vat_3.php

    r3487327 r3489863  
    220220        <tns:DataOd>%s</tns:DataOd>
    221221        <tns:DataDo>%s</tns:DataDo>
    222         <tns:NazwaSystemu>KPiR 1.1.4</tns:NazwaSystemu>
     222        <tns:NazwaSystemu>KPiR 1.2.0</tns:NazwaSystemu>
    223223    </tns:Naglowek>';
    224224        $data .= PHP_EOL;
  • kpir/trunk/includes/iworks/kpir/posttypes/invoice.php

    r3487327 r3489863  
    200200                        'class' => array( 'medium-text' ),
    201201                    ),
     202                ),
     203                'ksef_number'     => array(
     204                    'type'  => 'text',
     205                    'args'  => array(
     206                        'class' => array( 'large-text' ),
     207                    ),
     208                    'label' => __( 'KSeF Number', 'kpir' ),
     209                ),
     210                'ksef_type'     => array(
     211                    'type'  => 'radio',
     212                    'args'  => array(
     213                        'options' => array(
     214                            'OFF' => array(
     215                                'label' => __( 'An invoice that, on the date of submission of the records, does not have a number identifying this invoice in the National e-Invoice System', 'kpir' ),
     216                            ),
     217                            'BFK'    => array(
     218                                'label' => __( 'Electronic invoice or invoice in paper form', 'kpir' ),
     219                            ),
     220                            'DI'    => array(
     221                                'label' => __( 'Other evidence than invoice', 'kpir' ),
     222                            ),
     223                        ),
     224                        'default' => 'BFK',
     225                    ),
     226                    'label' => __( 'KSeF Type', 'kpir' ),
    202227                ),
    203228                'contractor'    => array(
  • kpir/trunk/includes/iworks/kpir/reports/monthly.php

    r3487327 r3489863  
    9696        $post_type_object = $kpir->get_post_type_invoice();
    9797        $this->is_use_cash_pit = $kpir->is_use_cash_pit();
     98        /**
     99         * check vat
     100         * @since 1.2.0
     101         */
     102        $check_vat = boolval( get_option( 'iworks_kpir_check_vat_on_monothly', 0 ) );
    98103        /**
    99104         * get current month
     
    459464                        break;
    460465                    case 'income':
     466                        $check_vat_class = array();
    461467                        $vat = get_post_meta( $ID, 'iworks_kpir_income_vat', true );
    462468                        if ( is_array( $vat ) ) {
    463469                            $sum['vat_income']['integer']    += intval( $vat['integer'] );
    464470                            $sum['vat_income']['fractional'] += intval( $vat['fractional'] );
    465                         }
    466                         echo $this->html_helper_money( $vat );
     471                            if ( $check_vat ) {
     472                                $value = get_post_meta( $ID, 'iworks_kpir_income_sale', true );
     473                                $n     = ( $value['integer'] * 100 + $value['fractional'] ) * 0.23;
     474                                $v     = ( $vat['integer'] * 100 + $vat['fractional'] );
     475                                $check_vat_class[] = intval(abs($n - $v)) ? 'vat-failed' : 'vat-passed';
     476                            }
     477                        }
     478                        echo $this->html_helper_money( $vat, $check_vat_class );
    467479                        if ( $this->show_fractional_separetly ) {
    468480                            echo $this->html_table_td( '&nbsp;' );
     
    498510            echo $this->html_helper_money( $sum['expense'] );
    499511            echo $this->html_helper_money( $sum['expense_netto'] );
    500             echo $this->html_helper_money( $sum['vat_income'] );
     512            /**
     513             * check vat
     514             */
     515            $check_vat_class = array();
     516            if ( $check_vat ) {
     517                $n = ( $sum['income']['integer'] * 100 + $sum['income']['fractional'] ) * .23;
     518                $v = ( $sum['vat_income']['integer'] * 100 + $sum['vat_income']['fractional'] );
     519                $check_vat_class[] = intval(abs($n-$v)) ? 'vat-failed' : 'vat-passed';
     520            }
     521            echo $this->html_helper_money( $sum['vat_income'], $check_vat_class );
    501522            if ( $this->show_fractional_separetly ) {
    502523                echo $this->html_table_td( '&nbsp;' );
     
    518539            echo '</p>';
    519540        }
     541
    520542    }
    521543
     
    768790     * @return string HTML content for formatted money display.
    769791     */
    770     private function html_helper_money( $value ) {
     792    private function html_helper_money( $value, $classes = array() ) {
     793        $classes[] = 'money';
     794        $class     = implode( ' ', array_unique( $classes ) );
    771795        if ( ! is_array( $value ) ) {
    772             return $this->html_table_td( '0,00', 'money' );
     796            return $this->html_table_td( '0,00', $class );
    773797        }
    774798        $content = '';
    775799        if ( ! isset( $value['fractional'] ) && ! isset( $value['integer'] ) ) {
    776             return $this->html_table_td( '0,00', 'money' );
     800            return $this->html_table_td( '0,00', $class );
    777801        }
    778802        if ( $value['fractional'] > 99 ) {
     
    781805        }
    782806        if ( $this->show_fractional_separetly ) {
    783             $content .= $this->html_table_td( $value['integer'], 'money' );
    784             $content .= $this->html_table_td( $value['fractional'], 'money' );
     807            $content .= $this->html_table_td( $value['integer'], $class );
     808            $content .= $this->html_table_td( $value['fractional'], $class );
    785809        } else {
    786810            $val      = sprintf( '%d,%02d', $value['integer'], $value['fractional'] );
    787             $content .= $this->html_table_td( $val, 'money' );
     811            $content .= $this->html_table_td( $val, $class );
    788812        }
    789813        return $content;
  • kpir/trunk/languages/kpir.pot

    r3487327 r3489863  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: 1.1.4\n"
     5"Project-Id-Version: 1.2.0\n"
    66"Report-Msgid-Bugs-To: http://iworks.pl\n"
    7 "POT-Creation-Date: 2026-03-20 16:08:18+00:00\n"
     7"POT-Creation-Date: 2026-03-24 09:23:43+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    3434msgstr ""
    3535
    36 #: etc/options.php:30 includes/iworks/kpir/posttypes/contractor.php:244
     36#: etc/options.php:30
     37msgid "Taxpayer Type"
     38msgstr ""
     39
     40#: etc/options.php:34
     41msgid "Person"
     42msgstr ""
     43
     44#: etc/options.php:37
     45msgid "Company"
     46msgstr ""
     47
     48#: etc/options.php:47 includes/iworks/kpir/posttypes/contractor.php:244
    3749msgid "Full Name"
    3850msgstr ""
    3951
    40 #: etc/options.php:37
     52#: etc/options.php:54
    4153msgid "Surname"
    4254msgstr ""
    4355
    44 #: etc/options.php:44
     56#: etc/options.php:61
    4557msgid "Last Name"
    4658msgstr ""
    4759
    48 #: etc/options.php:51
     60#: etc/options.php:68
    4961msgid "Date of Birth (YYYY-MM-DD)"
    5062msgstr ""
    5163
    52 #: etc/options.php:58
     64#: etc/options.php:75
    5365msgid "E-Mail"
    5466msgstr ""
    5567
    56 #: etc/options.php:65
     68#: etc/options.php:82
    5769msgid "Department of Revenue"
    5870msgstr ""
    5971
    60 #: etc/options.php:73
     72#: etc/options.php:90
    6173msgid "Phone"
    6274msgstr ""
    6375
    64 #: etc/options.php:81
     76#: etc/options.php:98
    6577msgid "Cash PIT"
    6678msgstr ""
    6779
    68 #: etc/options.php:82
     80#: etc/options.php:99
    6981msgid ""
    7082"Cash PIT allows for the application of personal income tax only after "
     
    7284msgstr ""
    7385
    74 #: etc/options.php:90
     86#: etc/options.php:108
     87msgid "Check VAT on Monthly Report"
     88msgstr ""
     89
     90#: etc/options.php:109
     91msgid "Simple check VAT on Monthly Report as netto sum multiple basic rate."
     92msgstr ""
     93
     94#: etc/options.php:117
    7595msgid "Monthly Report"
    7696msgstr ""
    7797
    78 #: etc/options.php:91
     98#: etc/options.php:118
    7999msgid "Monthly"
    80100msgstr ""
    81101
    82 #: etc/options.php:115 includes/iworks/class-kpir.php:421
     102#: etc/options.php:142 includes/iworks/class-kpir.php:421
    83103msgid "JPK V7M"
    84104msgstr ""
    85105
    86 #: etc/options.php:126
     106#: etc/options.php:153
    87107msgid "Annually Report"
    88108msgstr ""
    89109
    90 #: etc/options.php:127
     110#: etc/options.php:154
    91111msgid "Annually"
    92112msgstr ""
     
    153173
    154174#: includes/iworks/kpir/jpk/vat_3.php:149 template-parts/jpk/v7m/show.php:32
    155 #: template-parts/jpk/v7m-2/show.php:32
     175#: template-parts/jpk/v7m-2/show.php:32 template-parts/jpk/v7m-3/show.php:32
    156176msgid "Purpose"
    157177msgstr ""
    158178
    159179#: includes/iworks/kpir/jpk/vat_3.php:166 template-parts/jpk/v7m/show.php:51
    160 #: template-parts/jpk/v7m-2/show.php:51
     180#: template-parts/jpk/v7m-2/show.php:51 template-parts/jpk/v7m-3/show.php:51
    161181msgid "Month"
    162182msgstr ""
     
    164184#: includes/iworks/kpir/jpk/vat_3.php:171
    165185#: includes/iworks/kpir/reports/annually.php:465
    166 #: includes/iworks/kpir/reports/monthly.php:742
     186#: includes/iworks/kpir/reports/monthly.php:764
    167187#: template-parts/jpk/v7m/show.php:56 template-parts/jpk/v7m-2/show.php:56
     188#: template-parts/jpk/v7m-3/show.php:56
    168189msgid "Select month"
    169190msgstr ""
    170191
    171192#: includes/iworks/kpir/jpk/vat_3.php:188 template-parts/jpk/v7m/show.php:77
    172 #: template-parts/jpk/v7m-2/show.php:77
     193#: template-parts/jpk/v7m-2/show.php:77 template-parts/jpk/v7m-3/show.php:77
    173194msgid "Get XML"
    174195msgstr ""
     
    257278#: includes/iworks/kpir/posttypes/contractor.php:111
    258279#: includes/iworks/kpir/posttypes/contractor.php:137
    259 #: includes/iworks/kpir/posttypes/invoice.php:205
    260 #: includes/iworks/kpir/posttypes/invoice.php:872
     280#: includes/iworks/kpir/posttypes/invoice.php:230
     281#: includes/iworks/kpir/posttypes/invoice.php:897
    261282msgid "Contractor"
    262283msgstr ""
     
    279300
    280301#: includes/iworks/kpir/posttypes/contractor.php:117
    281 #: includes/iworks/kpir/posttypes/invoice.php:425
     302#: includes/iworks/kpir/posttypes/invoice.php:450
    282303msgid "Add New"
    283304msgstr ""
     
    308329
    309330#: includes/iworks/kpir/posttypes/contractor.php:124
    310 #: includes/iworks/kpir/posttypes/invoice.php:432
     331#: includes/iworks/kpir/posttypes/invoice.php:457
    311332msgid "Not found"
    312333msgstr ""
    313334
    314335#: includes/iworks/kpir/posttypes/contractor.php:125
    315 #: includes/iworks/kpir/posttypes/invoice.php:433
     336#: includes/iworks/kpir/posttypes/invoice.php:458
    316337msgid "Not found in Trash"
    317338msgstr ""
    318339
    319340#: includes/iworks/kpir/posttypes/contractor.php:126
    320 #: includes/iworks/kpir/posttypes/invoice.php:434
     341#: includes/iworks/kpir/posttypes/invoice.php:459
    321342msgid "Featured Image"
    322343msgstr ""
    323344
    324345#: includes/iworks/kpir/posttypes/contractor.php:127
    325 #: includes/iworks/kpir/posttypes/invoice.php:435
     346#: includes/iworks/kpir/posttypes/invoice.php:460
    326347msgid "Set featured image"
    327348msgstr ""
    328349
    329350#: includes/iworks/kpir/posttypes/contractor.php:128
    330 #: includes/iworks/kpir/posttypes/invoice.php:436
     351#: includes/iworks/kpir/posttypes/invoice.php:461
    331352msgid "Remove featured image"
    332353msgstr ""
    333354
    334355#: includes/iworks/kpir/posttypes/contractor.php:129
    335 #: includes/iworks/kpir/posttypes/invoice.php:437
     356#: includes/iworks/kpir/posttypes/invoice.php:462
    336357msgid "Use as featured image"
    337358msgstr ""
     
    389410msgstr ""
    390411
    391 #: includes/iworks/kpir/posttypes/invoice.php:212
     412#: includes/iworks/kpir/posttypes/invoice.php:208
     413msgid "KSeF Number"
     414msgstr ""
     415
     416#: includes/iworks/kpir/posttypes/invoice.php:215
     417msgid ""
     418"An invoice that, on the date of submission of the records, does not have a "
     419"number identifying this invoice in the National e-Invoice System"
     420msgstr ""
     421
     422#: includes/iworks/kpir/posttypes/invoice.php:218
     423msgid "Electronic invoice or invoice in paper form"
     424msgstr ""
     425
     426#: includes/iworks/kpir/posttypes/invoice.php:221
     427msgid "Other evidence than invoice"
     428msgstr ""
     429
     430#: includes/iworks/kpir/posttypes/invoice.php:226
     431msgid "KSeF Type"
     432msgstr ""
     433
     434#: includes/iworks/kpir/posttypes/invoice.php:237
    392435msgid "Invoice description"
    393436msgstr ""
    394437
    395 #: includes/iworks/kpir/posttypes/invoice.php:219
    396 #: includes/iworks/kpir/posttypes/invoice.php:880
     438#: includes/iworks/kpir/posttypes/invoice.php:244
     439#: includes/iworks/kpir/posttypes/invoice.php:905
    397440msgid "Income"
    398441msgstr ""
    399442
    400 #: includes/iworks/kpir/posttypes/invoice.php:222
    401 #: includes/iworks/kpir/posttypes/invoice.php:879
     443#: includes/iworks/kpir/posttypes/invoice.php:247
     444#: includes/iworks/kpir/posttypes/invoice.php:904
    402445msgid "Expense"
    403446msgstr ""
    404447
    405 #: includes/iworks/kpir/posttypes/invoice.php:225
     448#: includes/iworks/kpir/posttypes/invoice.php:250
    406449msgid "Salary"
    407450msgstr ""
    408451
    409 #: includes/iworks/kpir/posttypes/invoice.php:228
     452#: includes/iworks/kpir/posttypes/invoice.php:253
    410453msgid "Asset"
    411454msgstr ""
    412455
    413 #: includes/iworks/kpir/posttypes/invoice.php:231
     456#: includes/iworks/kpir/posttypes/invoice.php:256
    414457msgid "Insurance"
    415458msgstr ""
    416459
    417 #: includes/iworks/kpir/posttypes/invoice.php:236
     460#: includes/iworks/kpir/posttypes/invoice.php:261
    418461msgid "Type"
    419462msgstr ""
    420463
    421 #: includes/iworks/kpir/posttypes/invoice.php:243
    422 #: includes/iworks/kpir/posttypes/invoice.php:281
     464#: includes/iworks/kpir/posttypes/invoice.php:268
     465#: includes/iworks/kpir/posttypes/invoice.php:306
    423466msgid "Please first choose invoice type."
    424467msgstr ""
    425468
    426 #: includes/iworks/kpir/posttypes/invoice.php:249
     469#: includes/iworks/kpir/posttypes/invoice.php:274
    427470msgid "Value of goods and services sold"
    428471msgstr ""
    429472
    430 #: includes/iworks/kpir/posttypes/invoice.php:253
     473#: includes/iworks/kpir/posttypes/invoice.php:278
    431474msgid "Other income"
    432475msgstr ""
    433476
    434 #: includes/iworks/kpir/posttypes/invoice.php:257
    435 #: includes/iworks/kpir/posttypes/invoice.php:299
     477#: includes/iworks/kpir/posttypes/invoice.php:282
     478#: includes/iworks/kpir/posttypes/invoice.php:324
    436479msgid "VAT"
    437480msgstr ""
    438481
    439 #: includes/iworks/kpir/posttypes/invoice.php:264
     482#: includes/iworks/kpir/posttypes/invoice.php:289
    440483msgid ""
    441484"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    443486msgstr ""
    444487
    445 #: includes/iworks/kpir/posttypes/invoice.php:267
     488#: includes/iworks/kpir/posttypes/invoice.php:292
    446489msgid ""
    447490"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    449492msgstr ""
    450493
    451 #: includes/iworks/kpir/posttypes/invoice.php:270
     494#: includes/iworks/kpir/posttypes/invoice.php:295
    452495msgid ""
    453496"Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz "
     
    456499msgstr ""
    457500
    458 #: includes/iworks/kpir/posttypes/invoice.php:287
     501#: includes/iworks/kpir/posttypes/invoice.php:312
    459502msgid ""
    460503"The purchase of commercial goods and materials, according to the purchase "
     
    462505msgstr ""
    463506
    464 #: includes/iworks/kpir/posttypes/invoice.php:291
     507#: includes/iworks/kpir/posttypes/invoice.php:316
    465508msgid "Incidental costs of purchase"
    466509msgstr ""
    467510
    468 #: includes/iworks/kpir/posttypes/invoice.php:295
     511#: includes/iworks/kpir/posttypes/invoice.php:320
    469512msgid "Other expenses"
    470513msgstr ""
    471514
    472 #: includes/iworks/kpir/posttypes/invoice.php:303
     515#: includes/iworks/kpir/posttypes/invoice.php:328
    473516msgid "VAT rate"
    474517msgstr ""
    475518
    476 #: includes/iworks/kpir/posttypes/invoice.php:308
     519#: includes/iworks/kpir/posttypes/invoice.php:333
    477520msgid "Base 23%"
    478521msgstr ""
    479522
    480 #: includes/iworks/kpir/posttypes/invoice.php:311
     523#: includes/iworks/kpir/posttypes/invoice.php:336
    481524msgid "8%"
    482525msgstr ""
    483526
    484 #: includes/iworks/kpir/posttypes/invoice.php:314
     527#: includes/iworks/kpir/posttypes/invoice.php:339
    485528msgid "5%"
    486529msgstr ""
    487530
    488 #: includes/iworks/kpir/posttypes/invoice.php:317
     531#: includes/iworks/kpir/posttypes/invoice.php:342
    489532msgid "0%"
    490533msgstr ""
    491534
    492 #: includes/iworks/kpir/posttypes/invoice.php:320
     535#: includes/iworks/kpir/posttypes/invoice.php:345
    493536msgid "No VAT"
    494537msgstr ""
    495538
    496 #: includes/iworks/kpir/posttypes/invoice.php:328
     539#: includes/iworks/kpir/posttypes/invoice.php:353
    497540msgid "Car related"
    498541msgstr ""
    499542
    500 #: includes/iworks/kpir/posttypes/invoice.php:329
     543#: includes/iworks/kpir/posttypes/invoice.php:354
    501544msgid "It will be calculated as half VAT return."
    502545msgstr ""
    503546
    504 #: includes/iworks/kpir/posttypes/invoice.php:334
     547#: includes/iworks/kpir/posttypes/invoice.php:359
    505548msgid "100%"
    506549msgstr ""
    507550
    508 #: includes/iworks/kpir/posttypes/invoice.php:337
     551#: includes/iworks/kpir/posttypes/invoice.php:362
    509552msgid "75%"
    510553msgstr ""
    511554
    512 #: includes/iworks/kpir/posttypes/invoice.php:340
     555#: includes/iworks/kpir/posttypes/invoice.php:365
    513556msgid "20%"
    514557msgstr ""
    515558
    516 #: includes/iworks/kpir/posttypes/invoice.php:343
     559#: includes/iworks/kpir/posttypes/invoice.php:368
    517560msgid "Yes (before 2019)"
    518561msgstr ""
    519562
    520 #: includes/iworks/kpir/posttypes/invoice.php:346
     563#: includes/iworks/kpir/posttypes/invoice.php:371
    521564msgid "No"
    522565msgstr ""
    523566
    524 #: includes/iworks/kpir/posttypes/invoice.php:356
     567#: includes/iworks/kpir/posttypes/invoice.php:381
    525568msgid "Salary in cash and in kind"
    526569msgstr ""
    527570
    528 #: includes/iworks/kpir/posttypes/invoice.php:362
     571#: includes/iworks/kpir/posttypes/invoice.php:387
    529572msgid "Depreciation of asset"
    530573msgstr ""
    531574
    532 #: includes/iworks/kpir/posttypes/invoice.php:368
     575#: includes/iworks/kpir/posttypes/invoice.php:393
    533576msgid "ZUS 51"
    534577msgstr ""
    535578
    536 #: includes/iworks/kpir/posttypes/invoice.php:372
     579#: includes/iworks/kpir/posttypes/invoice.php:397
    537580msgid "ZUS 52"
    538581msgstr ""
    539582
    540 #: includes/iworks/kpir/posttypes/invoice.php:376
     583#: includes/iworks/kpir/posttypes/invoice.php:401
    541584msgid "ZUS 53"
    542585msgstr ""
     
    546589msgstr ""
    547590
    548 #: includes/iworks/kpir/posttypes/invoice.php:419
     591#: includes/iworks/kpir/posttypes/invoice.php:444
     592#: includes/iworks/kpir/posttypes/invoice.php:470
     593msgid "Invoice"
     594msgstr ""
     595
    549596#: includes/iworks/kpir/posttypes/invoice.php:445
    550 msgid "Invoice"
    551 msgstr ""
    552 
    553 #: includes/iworks/kpir/posttypes/invoice.php:420
    554597msgid "Invoice Archives"
    555598msgstr ""
    556599
    557 #: includes/iworks/kpir/posttypes/invoice.php:421
     600#: includes/iworks/kpir/posttypes/invoice.php:446
    558601msgid "Invoice Attributes"
    559602msgstr ""
    560603
    561 #: includes/iworks/kpir/posttypes/invoice.php:422
     604#: includes/iworks/kpir/posttypes/invoice.php:447
    562605msgid "Parent Invoice:"
    563606msgstr ""
    564607
    565 #: includes/iworks/kpir/posttypes/invoice.php:423
     608#: includes/iworks/kpir/posttypes/invoice.php:448
    566609msgid "All Invoices"
    567610msgstr ""
    568611
    569 #: includes/iworks/kpir/posttypes/invoice.php:424
     612#: includes/iworks/kpir/posttypes/invoice.php:449
    570613msgid "Add New Invoice"
    571614msgstr ""
    572615
    573 #: includes/iworks/kpir/posttypes/invoice.php:426
     616#: includes/iworks/kpir/posttypes/invoice.php:451
    574617msgid "New Invoice"
    575618msgstr ""
    576619
    577 #: includes/iworks/kpir/posttypes/invoice.php:427
     620#: includes/iworks/kpir/posttypes/invoice.php:452
    578621msgid "Edit Invoice"
    579622msgstr ""
    580623
    581 #: includes/iworks/kpir/posttypes/invoice.php:428
     624#: includes/iworks/kpir/posttypes/invoice.php:453
    582625msgid "Update Invoice"
    583626msgstr ""
    584627
    585 #: includes/iworks/kpir/posttypes/invoice.php:429
     628#: includes/iworks/kpir/posttypes/invoice.php:454
    586629msgid "View Invoice"
    587630msgstr ""
    588631
    589 #: includes/iworks/kpir/posttypes/invoice.php:430
     632#: includes/iworks/kpir/posttypes/invoice.php:455
    590633msgid "View Invoices"
    591634msgstr ""
    592635
    593 #: includes/iworks/kpir/posttypes/invoice.php:431
     636#: includes/iworks/kpir/posttypes/invoice.php:456
    594637msgid "Search Invoice"
    595638msgstr ""
    596639
    597 #: includes/iworks/kpir/posttypes/invoice.php:438
     640#: includes/iworks/kpir/posttypes/invoice.php:463
    598641msgid "Insert into invoice"
    599642msgstr ""
    600643
    601 #: includes/iworks/kpir/posttypes/invoice.php:439
     644#: includes/iworks/kpir/posttypes/invoice.php:464
    602645msgid "Uploaded to this invoice"
    603646msgstr ""
    604647
    605 #: includes/iworks/kpir/posttypes/invoice.php:440
     648#: includes/iworks/kpir/posttypes/invoice.php:465
    606649msgid "Invoices list"
    607650msgstr ""
    608651
    609 #: includes/iworks/kpir/posttypes/invoice.php:441
     652#: includes/iworks/kpir/posttypes/invoice.php:466
    610653msgid "Invoices list navigation"
    611654msgstr ""
    612655
    613 #: includes/iworks/kpir/posttypes/invoice.php:442
     656#: includes/iworks/kpir/posttypes/invoice.php:467
    614657msgid "Filter invoices list"
    615658msgstr ""
    616659
    617 #: includes/iworks/kpir/posttypes/invoice.php:446
     660#: includes/iworks/kpir/posttypes/invoice.php:471
    618661msgid "Invoice Description"
    619662msgstr ""
    620663
    621 #: includes/iworks/kpir/posttypes/invoice.php:497
     664#: includes/iworks/kpir/posttypes/invoice.php:522
    622665msgid "Enter invoice number"
    623666msgstr ""
    624667
    625 #: includes/iworks/kpir/posttypes/invoice.php:514
     668#: includes/iworks/kpir/posttypes/invoice.php:539
    626669msgid "Basic Data"
    627670msgstr ""
    628671
    629 #: includes/iworks/kpir/posttypes/invoice.php:515
    630 #: includes/iworks/kpir/posttypes/invoice.php:726
     672#: includes/iworks/kpir/posttypes/invoice.php:540
     673#: includes/iworks/kpir/posttypes/invoice.php:751
    631674msgid "Incomes"
    632675msgstr ""
    633676
    634 #: includes/iworks/kpir/posttypes/invoice.php:516
     677#: includes/iworks/kpir/posttypes/invoice.php:541
    635678msgid "Expenses (costs)"
    636679msgstr ""
    637680
    638 #: includes/iworks/kpir/posttypes/invoice.php:517
    639 #: includes/iworks/kpir/posttypes/invoice.php:732
     681#: includes/iworks/kpir/posttypes/invoice.php:542
     682#: includes/iworks/kpir/posttypes/invoice.php:757
    640683msgid "Salaries"
    641684msgstr ""
    642685
    643 #: includes/iworks/kpir/posttypes/invoice.php:518
     686#: includes/iworks/kpir/posttypes/invoice.php:543
    644687msgid "Assets"
    645688msgstr ""
    646689
    647 #: includes/iworks/kpir/posttypes/invoice.php:519
     690#: includes/iworks/kpir/posttypes/invoice.php:544
    648691msgid "Insurances (ZUS)"
    649692msgstr ""
    650693
    651 #: includes/iworks/kpir/posttypes/invoice.php:727
     694#: includes/iworks/kpir/posttypes/invoice.php:752
    652695msgid "Expenses"
    653696msgstr ""
    654697
    655 #: includes/iworks/kpir/posttypes/invoice.php:728
     698#: includes/iworks/kpir/posttypes/invoice.php:753
    656699msgid "Expenses (VAT)"
    657700msgstr ""
    658701
    659 #: includes/iworks/kpir/posttypes/invoice.php:729
     702#: includes/iworks/kpir/posttypes/invoice.php:754
    660703msgid "VAT (Income) "
    661704msgstr ""
    662705
    663 #: includes/iworks/kpir/posttypes/invoice.php:730
     706#: includes/iworks/kpir/posttypes/invoice.php:755
    664707msgid "VAT (Expense)"
    665708msgstr ""
    666709
    667 #: includes/iworks/kpir/posttypes/invoice.php:731
     710#: includes/iworks/kpir/posttypes/invoice.php:756
    668711msgid "VAT (zero)"
    669712msgstr ""
    670713
    671 #: includes/iworks/kpir/posttypes/invoice.php:733
     714#: includes/iworks/kpir/posttypes/invoice.php:758
    672715msgid "Depreciation of assets"
    673716msgstr ""
    674717
    675 #: includes/iworks/kpir/posttypes/invoice.php:839
     718#: includes/iworks/kpir/posttypes/invoice.php:864
    676719msgid "&mdash; not paid yet &mdash;"
    677720msgstr ""
    678721
    679 #: includes/iworks/kpir/posttypes/invoice.php:873
     722#: includes/iworks/kpir/posttypes/invoice.php:898
    680723msgid "Date of invoice"
    681724msgstr ""
    682725
    683 #: includes/iworks/kpir/posttypes/invoice.php:875
     726#: includes/iworks/kpir/posttypes/invoice.php:900
    684727msgid "Payment Date"
    685728msgstr ""
    686729
    687 #: includes/iworks/kpir/posttypes/invoice.php:878
     730#: includes/iworks/kpir/posttypes/invoice.php:903
    688731msgid "Description"
    689732msgstr ""
    690733
    691 #: includes/iworks/kpir/posttypes/invoice.php:881
     734#: includes/iworks/kpir/posttypes/invoice.php:906
    692735msgid "Invoice Number"
    693736msgstr ""
     
    702745
    703746#: includes/iworks/kpir/reports/annually.php:463
    704 #: includes/iworks/kpir/reports/monthly.php:740
     747#: includes/iworks/kpir/reports/monthly.php:762
    705748msgid "Filter by date"
    706749msgstr ""
    707750
    708751#: includes/iworks/kpir/reports/annually.php:475
    709 #: includes/iworks/kpir/reports/monthly.php:752
     752#: includes/iworks/kpir/reports/monthly.php:774
    710753msgid "Filter"
    711754msgstr ""
    712755
    713 #: includes/iworks/kpir/reports/monthly.php:216
     756#: includes/iworks/kpir/reports/monthly.php:221
    714757msgid "(car related)"
    715758msgstr ""
    716759
    717 #: includes/iworks/kpir/reports/monthly.php:517
     760#: includes/iworks/kpir/reports/monthly.php:538
    718761msgid "There is no invoices in this month."
    719762msgstr ""
     
    761804
    762805#: template-parts/jpk/v7m/show.php:11 template-parts/jpk/v7m-2/show.php:11
     806#: template-parts/jpk/v7m-3/show.php:11
    763807msgid "Excess tax"
    764808msgstr ""
    765809
    766810#: template-parts/jpk/v7m/show.php:37 template-parts/jpk/v7m-2/show.php:37
     811#: template-parts/jpk/v7m-3/show.php:37
    767812msgid "submission of a declaration"
    768813msgstr ""
    769814
    770815#: template-parts/jpk/v7m/show.php:38 template-parts/jpk/v7m-2/show.php:38
     816#: template-parts/jpk/v7m-3/show.php:38
    771817msgid "correction of the declaration"
    772818msgstr ""
     
    803849msgstr ""
    804850
    805 #: includes/iworks/kpir/posttypes/invoice.php:416
     851#: includes/iworks/kpir/posttypes/invoice.php:441
    806852msgctxt "Invoice General Name"
    807853msgid "Invoices"
    808854msgstr ""
    809855
    810 #: includes/iworks/kpir/posttypes/invoice.php:417
     856#: includes/iworks/kpir/posttypes/invoice.php:442
    811857msgctxt "Invoice Singular Name"
    812858msgid "Invoice"
  • kpir/trunk/readme.txt

    r3487327 r3489863  
    55Requires at least: 6.0
    66Tested up to: 6.8
    7 Stable tag: 1.1.4
     7Stable tag: 1.2.0
    88Requires PHP: 8.0
    99License: GPLv3 or later
     
    6464Project maintained on GitHub at [iworks/kpir](https://github.com/iworks/kpir).
    6565
     66
     67= 1.2.0 - 2026-03-24 =
     68* Added KSeF number to JPK reports.
     69* Added JPK V7M (3) support.
     70* Added simple VAT inconsistency check.
     71* Added ability to chose tax payer type.
    6672
    6773= 1.1.4 - 2026-03-20 =
  • kpir/trunk/template-parts/jpk/v7m-2/xml/head.php

    r3487327 r3489863  
    33    <tns:WariantFormularza>2</tns:WariantFormularza>
    44    <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK>
    5     <tns:NazwaSystemu>KPiR 1.1.4</tns:NazwaSystemu>
     5    <tns:NazwaSystemu>KPiR 1.2.0</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-2/xml/summary.php

    r2684393 r3489863  
    1818    <tns:Pouczenia>1</tns:Pouczenia>
    1919</tns:Deklaracja>
     20
  • kpir/trunk/template-parts/jpk/v7m/xml/head.php

    r3487327 r3489863  
    33    <tns:WariantFormularza>1</tns:WariantFormularza>
    44    <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK>
    5     <tns:NazwaSystemu>KPiR 1.1.4</tns:NazwaSystemu>
     5    <tns:NazwaSystemu>KPiR 1.2.0</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/income.php

    r2424539 r3489863  
    1111    if ( isset( $args[ $key ] ) ) {
    1212        ?>
    13     <tns:<?php echo $key; ?>><?php echo $args[ $key ]; ?></tns:<?php echo $key; ?>>
    14         <?php
     13    <tns:<?php echo $key; ?>><?php echo $args[ $key ]; ?></tns:<?php echo $key; ?>><?php
    1514    }
    1615}
  • kpir/trunk/template-parts/jpk/v7m/xml/summary.php

    r2424539 r3489863  
    1818    <tns:Pouczenia>1</tns:Pouczenia>
    1919</tns:Deklaracja>
     20
Note: See TracChangeset for help on using the changeset viewer.