mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:18:33 -05:00 
			
		
		
		
	Merge pull request #8453 from turbo124/v5-develop
Minor fixes for translations
This commit is contained in:
		
						commit
						48e1b678da
					
				@ -154,7 +154,7 @@ class BaseRule implements RuleInterface
 | 
			
		||||
        match($this->client_region){
 | 
			
		||||
            'US' => $this->client_subregion = $this->tax_data->geoState,
 | 
			
		||||
            'EU' => $this->client_subregion = $this->client->country->iso_3166_2,
 | 
			
		||||
            default => $this->client->country->iso_3166_2,
 | 
			
		||||
            default => $this->client_subregion = $this->client->country->iso_3166_2,
 | 
			
		||||
        };
 | 
			
		||||
    
 | 
			
		||||
        return $this;
 | 
			
		||||
 | 
			
		||||
@ -381,6 +381,7 @@ class TaxModel
 | 
			
		||||
 | 
			
		||||
        $this->regions->EU->subregions->DK = new \stdClass();
 | 
			
		||||
        $this->regions->EU->subregions->DK->tax_rate = 25;
 | 
			
		||||
        $this->regions->EU->subregions->DK->tax_name = 'Moms';
 | 
			
		||||
        $this->regions->EU->subregions->DK->reduced_tax_rate = 0;
 | 
			
		||||
        $this->regions->EU->subregions->DK->apply_tax = false;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -532,7 +532,7 @@ class BankIntegrationController extends BaseController
 | 
			
		||||
        $accounts = $yodlee->getAccounts();
 | 
			
		||||
 | 
			
		||||
        foreach ($accounts as $account) {
 | 
			
		||||
            if (!BankIntegration::where('bank_account_id', $account['id'])->where('company_id', auth()->user()->company()->id)->exists()) {
 | 
			
		||||
            if (!BankIntegration::withTrashed()->where('bank_account_id', $account['id'])->where('company_id', auth()->user()->company()->id)->exists()) {
 | 
			
		||||
                $bank_integration = new BankIntegration();
 | 
			
		||||
                $bank_integration->company_id = auth()->user()->company()->id;
 | 
			
		||||
                $bank_integration->account_id = auth()->user()->account_id;
 | 
			
		||||
@ -547,7 +547,6 @@ class BankIntegrationController extends BaseController
 | 
			
		||||
                $bank_integration->nickname = $account['nickname'];
 | 
			
		||||
                $bank_integration->balance = $account['current_balance'];
 | 
			
		||||
                $bank_integration->currency = $account['account_currency'];
 | 
			
		||||
                
 | 
			
		||||
                $bank_integration->save();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -5060,6 +5060,8 @@ $LANG = array(
 | 
			
		||||
    'date_picker_hint' => 'Use +days to set the date in the future',
 | 
			
		||||
    'app_help_link' => 'More information ',
 | 
			
		||||
    'here' => 'here',
 | 
			
		||||
    'industry_Restaurant & Catering' => 'Restaurant & Catering',
 | 
			
		||||
    'show_credits_table' => 'Show Credits Table',
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -413,8 +413,8 @@
 | 
			
		||||
               <div id="statement-invoice-table-totals" data-ref="statement-totals"></div>
 | 
			
		||||
               <table id="statement-payment-table" cellspacing="0" data-ref="table"></table>
 | 
			
		||||
               <div id="statement-payment-table-totals" data-ref="statement-totals"></div>
 | 
			
		||||
                            <table id="statement-credit-table" cellspacing="0" data-ref="table"></table>
 | 
			
		||||
                            <div id="statement-credit-table-totals" data-ref="statement-totals"></div>
 | 
			
		||||
               <table id="statement-credit-table" cellspacing="0" data-ref="table"></table>
 | 
			
		||||
               <div id="statement-credit-table-totals" data-ref="statement-totals"></div>
 | 
			
		||||
               <table id="statement-aging-table" cellspacing="0" data-ref="table"></table>
 | 
			
		||||
               <div id="statement-aging-table-totals" data-ref="statement-totals"></div>
 | 
			
		||||
               <div id="table-totals" cellspacing="0">$status_logo</div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user