mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:17:30 -05:00 
			
		
		
		
	Don't apply payment terms to quotes
This commit is contained in:
		
							parent
							
								
									65c584ba0c
								
							
						
					
					
						commit
						399a2fca54
					
				@ -7,6 +7,7 @@ $(function() {
 | 
			
		||||
        components: {!! json_encode($entity ? $entity->html : '') !!},
 | 
			
		||||
        style: {!! json_encode($entity ? $entity->css : '') !!},
 | 
			
		||||
        showDevices: false,
 | 
			
		||||
        noticeOnUnload: false,
 | 
			
		||||
        plugins: ['gjs-preset-newsletter'],
 | 
			
		||||
        pluginsOpts: {
 | 
			
		||||
            'gjs-preset-newsletter': {
 | 
			
		||||
@ -14,7 +15,13 @@ $(function() {
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        storageManager: {
 | 
			
		||||
            type: 'none'
 | 
			
		||||
            type: 'none',
 | 
			
		||||
            autosave: false,
 | 
			
		||||
            autoload: false,
 | 
			
		||||
            storeComponents: false,
 | 
			
		||||
            storeStyles: false,
 | 
			
		||||
            storeHtml: false,
 | 
			
		||||
            storeCss: false,
 | 
			
		||||
        },
 | 
			
		||||
        assetManager: {
 | 
			
		||||
            assets: {!! json_encode($documents) !!},
 | 
			
		||||
@ -36,6 +43,20 @@ $(function() {
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    var panelManager = grapesjsEditor.Panels;
 | 
			
		||||
    panelManager.addButton('options', [{
 | 
			
		||||
        id: 'undo',
 | 
			
		||||
        className: 'fa fa-undo',
 | 
			
		||||
        command: 'undo',
 | 
			
		||||
        attributes: { title: 'Undo (CTRL/CMD + Z)'}
 | 
			
		||||
    },{
 | 
			
		||||
        id: 'redo',
 | 
			
		||||
        className: 'fa fa-repeat',
 | 
			
		||||
        attributes: {title: 'Redo'},
 | 
			
		||||
        command: 'redo',
 | 
			
		||||
        attributes: { title: 'Redo (CTRL/CMD + SHIFT + Z)' }
 | 
			
		||||
    }]);
 | 
			
		||||
 | 
			
		||||
    var blockManager = grapesjsEditor.BlockManager;
 | 
			
		||||
 | 
			
		||||
    @foreach ($snippets as $snippet)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user